Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002272/0.002272, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008746/0.0008746, allocations: 87.17 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.745e-05, allocations: 4 kB / 350.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3484/0.4493, allocations: 96.92 MB / 499 MB, free: 8.633 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.4497, allocations: 80.86 kB / 499.1 MB, free: 8.594 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146/1.596, allocations: 318.3 MB / 0.7982 GB, free: 57.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.596, allocations: 1.031 kB / 0.7982 GB, free: 57.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005075/1.596, allocations: 188.3 kB / 0.7984 GB, free: 57.71 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02745/1.624, allocations: 7.834 MB / 0.8061 GB, free: 55.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.624, allocations: 10.09 kB / 0.8061 GB, free: 55.38 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004057/1.628, allocations: 1.269 MB / 0.8073 GB, free: 55.28 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01365/1.642, allocations: 2.597 MB / 0.8099 GB, free: 54.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/1.655, allocations: 5.523 MB / 0.8152 GB, free: 53.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006579/1.655, allocations: 0.6342 MB / 0.8159 GB, free: 53.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003431/1.659, allocations: 0.8374 MB / 0.8167 GB, free: 53.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03328/1.692, allocations: 13.46 MB / 0.8298 GB, free: 52.44 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003311/1.693, allocations: 11.55 kB / 0.8298 GB, free: 52.44 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002225/1.695, allocations: 368.2 kB / 0.8302 GB, free: 52.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005628/1.695, allocations: 0.6124 MB / 0.8308 GB, free: 51.99 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01974/1.715, allocations: 10.11 MB / 0.8407 GB, free: 47.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06226/1.777, allocations: 44.16 MB / 0.8838 GB, free: 18.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/1.788, allocations: 10.5 MB / 0.894 GB, free: 7.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002596/1.79, allocations: 1.717 MB / 0.8957 GB, free: 5.965 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/1.791, allocations: 214.4 kB / 0.8959 GB, free: 5.734 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/1.791, allocations: 52.56 kB / 0.896 GB, free: 5.676 MB / 458.7 MB Notification: Performance of pre-optimization done (n=234): time 4.208e-06/1.791, allocations: 0 / 0.896 GB, free: 5.676 MB / 458.7 MB Notification: Performance of matching and sorting (n=234): time 0.004947/1.796, allocations: 3.067 MB / 0.899 GB, free: 2.992 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/1.796, allocations: 77.41 kB / 0.899 GB, free: 2.902 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004502/1.8, allocations: 2.584 MB / 0.9016 GB, free: 0.625 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002743/1.8, allocations: 65.7 kB / 0.9016 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003085/1.804, allocations: 3.828 MB / 0.9054 GB, free: 13.17 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009402/1.804, allocations: 0.8279 MB / 0.9062 GB, free: 12.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/1.805, allocations: 96 kB / 0.9063 GB, free: 12.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003232/1.805, allocations: 0.4948 MB / 0.9068 GB, free: 11.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002914/1.808, allocations: 1.975 MB / 0.9087 GB, free: 10.15 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00427/1.812, allocations: 4.145 MB / 0.9127 GB, free: 5.254 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003881/1.816, allocations: 3.043 MB / 0.9157 GB, free: 2.656 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.319e-05/1.816, allocations: 20 kB / 0.9157 GB, free: 2.637 MB / 474.7 MB Notification: Performance of matching and sorting (n=603) (initialization): time 0.3011/2.117, allocations: 6.523 MB / 0.9221 GB, free: 68.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.146e-05/2.117, allocations: 35.97 kB / 0.9221 GB, free: 68.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/2.118, allocations: 73.31 kB / 0.9222 GB, free: 68.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008236/2.118, allocations: 414.4 kB / 0.9226 GB, free: 68.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003254/2.122, allocations: 1.074 MB / 0.9236 GB, free: 68.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004465/2.126, allocations: 4.045 MB / 0.9276 GB, free: 66.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003844/2.13, allocations: 0.6268 MB / 0.9282 GB, free: 66.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005858/2.131, allocations: 247 kB / 0.9284 GB, free: 66.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (574): * Single equations (assignments): 569 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000749/2.131, allocations: 426.1 kB / 0.9288 GB, free: 66.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000636/2.132, allocations: 276.4 kB / 0.9291 GB, free: 66.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005789/2.138, allocations: 3.657 MB / 0.9327 GB, free: 66.44 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003988/2.142, allocations: 2.87 MB / 0.9355 GB, free: 66.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/2.142, allocations: 2.969 kB / 0.9355 GB, free: 66.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/2.142, allocations: 12.89 kB / 0.9355 GB, free: 66.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/2.16, allocations: 10.34 MB / 0.9456 GB, free: 65.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/2.16, allocations: 3.281 kB / 0.9456 GB, free: 65.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/2.161, allocations: 420.7 kB / 0.946 GB, free: 65.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008011/2.162, allocations: 308.9 kB / 0.9463 GB, free: 65.52 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/2.162, allocations: 50.16 kB / 0.9463 GB, free: 65.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/2.167, allocations: 3.872 MB / 0.9501 GB, free: 64.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/2.167, allocations: 5.125 kB / 0.9501 GB, free: 64.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007692/2.175, allocations: 5.321 MB / 0.9553 GB, free: 63.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/2.177, allocations: 0.6385 MB / 0.9559 GB, free: 63.35 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000414/2.177, allocations: 42 kB / 0.956 GB, free: 63.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/2.178, allocations: 136.3 kB / 0.9561 GB, free: 63.35 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003398/2.179, allocations: 147.8 kB / 0.9563 GB, free: 63.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/2.179, allocations: 69.2 kB / 0.9563 GB, free: 63.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003578/2.182, allocations: 1.916 MB / 0.9582 GB, free: 63.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.104e-06/2.182, allocations: 0 / 0.9582 GB, free: 63.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006642/2.189, allocations: 1.99 MB / 0.9601 GB, free: 62.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (currentQuasiRMSSensor.currentSensor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (223): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008217/2.197, allocations: 6.371 MB / 0.9664 GB, free: 61.55 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006978/2.204, allocations: 4.653 MB / 0.9709 GB, free: 61.33 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/2.204, allocations: 1.312 kB / 0.9709 GB, free: 61.33 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002306/2.207, allocations: 1.762 MB / 0.9726 GB, free: 61.19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/2.21, allocations: 0.6125 MB / 0.9732 GB, free: 61.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02679/2.237, allocations: 13.47 MB / 0.9864 GB, free: 58.83 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005969/2.243, allocations: 5.797 MB / 0.992 GB, free: 57.88 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004149/2.247, allocations: 1.692 MB / 0.9937 GB, free: 57.76 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00292/2.25, allocations: 2.685 MB / 0.9963 GB, free: 56.6 MB / 474.7 MB Notification: Performance of SimCode: time 6.62e-07/2.25, allocations: 0 / 0.9963 GB, free: 56.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/2.362, allocations: 90.05 MB / 1.084 GB, free: 2.527 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/2.362, allocations: 185.1 kB / 1.084 GB, free: 2.305 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.644/6.006, allocations: 3.094 kB / 1.084 GB, free: 2.305 MB / 474.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat