Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009138/0.0009139, allocations: 91.67 kB / 16.95 MB, free: 6.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 187.5 kB / 17.84 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004713, allocations: 12 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1192, allocations: 47.57 MB / 328.4 MB, free: 3.984 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01624/0.1354, allocations: 14.49 MB / 342.9 MB, free: 5.438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.1467, allocations: 3.859 MB / 346.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003311/0.1501, allocations: 111.7 kB / 346.9 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002915/0.1531, allocations: 0.7104 MB / 347.6 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006184/0.1593, allocations: 1.268 MB / 348.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003209/0.1625, allocations: 0.9084 MB / 349.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01178/0.1743, allocations: 7.945 MB / 357.7 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03915/0.2135, allocations: 18.36 MB / 376.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005887/0.2194, allocations: 3.411 MB / 379.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2541/0.4735, allocations: 3.848 MB / 383.4 MB, free: 20.94 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003977/0.4776, allocations: 0.5519 MB / 383.9 MB, free: 20.94 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006807/0.4844, allocations: 0.7887 MB / 384.7 MB, free: 20.94 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004927/0.4894, allocations: 1.589 MB / 386.3 MB, free: 20.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006683/0.4961, allocations: 1.796 MB / 388.1 MB, free: 20.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02133/0.5174, allocations: 15.66 MB / 403.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.148e-06/0.5175, allocations: 0.875 kB / 403.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5175, allocations: 0 / 403.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0008059/0.5183, allocations: 2.375 kB / 403.7 MB, free: 14.64 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03157/0.5499, allocations: 8.849 MB / 412.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.55, allocations: 10.91 kB / 412.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007028/0.557, allocations: 1.351 MB / 414 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02919/0.5862, allocations: 5.731 MB / 419.7 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.5987, allocations: 4.78 MB / 424.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009068/0.5996, allocations: 0.7029 MB / 425.2 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00594/0.6056, allocations: 0.9228 MB / 426.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04647/0.6521, allocations: 13.55 MB / 439.6 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006023/0.6527, allocations: 4 kB / 439.6 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005311/0.6581, allocations: 390.7 kB / 440 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006884/0.6588, allocations: 458.7 kB / 440.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03911/0.6979, allocations: 12.77 MB / 453.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1099/0.8079, allocations: 47.05 MB / 0.4886 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01802/0.826, allocations: 17.09 MB / 0.5053 GB, free: 8.398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003783/0.8298, allocations: 1.9 MB / 0.5071 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.8417, allocations: 6.093 MB / 0.5131 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/0.8418, allocations: 48.56 kB / 0.5131 GB, free: 336 kB / 414.1 MB Notification: Performance of pre-optimization done (n=194): time 4.158e-06/0.8418, allocations: 0 / 0.5131 GB, free: 336 kB / 414.1 MB Notification: Performance of matching and sorting (n=194): time 0.009025/0.8508, allocations: 4.386 MB / 0.5174 GB, free: 11.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.851, allocations: 80.95 kB / 0.5175 GB, free: 11.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006916/0.8579, allocations: 3.293 MB / 0.5207 GB, free: 8.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004025/0.8584, allocations: 61.7 kB / 0.5207 GB, free: 8.461 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003785/0.8622, allocations: 4.177 MB / 0.5248 GB, free: 4.262 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001262/0.8634, allocations: 0.7165 MB / 0.5255 GB, free: 3.551 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.8637, allocations: 100 kB / 0.5256 GB, free: 3.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003945/0.8641, allocations: 0.509 MB / 0.5261 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003579/0.8677, allocations: 2.059 MB / 0.5281 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.362/1.23, allocations: 4.707 MB / 0.5327 GB, free: 133.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006286/1.236, allocations: 3.219 MB / 0.5359 GB, free: 133.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001595/1.236, allocations: 25.03 kB / 0.5359 GB, free: 133.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01475/1.251, allocations: 7.059 MB / 0.5428 GB, free: 131.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.961e-05/1.251, allocations: 43.12 kB / 0.5428 GB, free: 131.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/1.251, allocations: 90.72 kB / 0.5429 GB, free: 131.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008956/1.252, allocations: 443.4 kB / 0.5433 GB, free: 131.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003451/1.256, allocations: 1.18 MB / 0.5445 GB, free: 131 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004747/1.26, allocations: 4.055 MB / 0.5484 GB, free: 128.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005104/1.266, allocations: 0.7156 MB / 0.5491 GB, free: 128.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008405/1.266, allocations: 285.4 kB / 0.5494 GB, free: 128.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (626): * Single equations (assignments): 621 * 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.008127/1.275, allocations: 3.494 MB / 0.5528 GB, free: 126.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008768/1.275, allocations: 289.6 kB / 0.5531 GB, free: 126.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005326/1.281, allocations: 3.386 MB / 0.5564 GB, free: 125.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003917/1.285, allocations: 2.612 MB / 0.559 GB, free: 124.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/1.285, allocations: 7.219 kB / 0.559 GB, free: 124.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/1.285, allocations: 7.641 kB / 0.559 GB, free: 124.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/1.302, allocations: 9.415 MB / 0.5682 GB, free: 117.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/1.302, allocations: 6.688 kB / 0.5682 GB, free: 117.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/1.303, allocations: 352.8 kB / 0.5685 GB, free: 116.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006397/1.304, allocations: 321.9 kB / 0.5688 GB, free: 116.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/1.304, allocations: 40 kB / 0.5689 GB, free: 116.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003906/1.308, allocations: 3.879 MB / 0.5726 GB, free: 113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.308, allocations: 0 / 0.5726 GB, free: 113 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00607/1.314, allocations: 4.81 MB / 0.5773 GB, free: 108.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.315, allocations: 0.6263 MB / 0.578 GB, free: 108.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003251/1.316, allocations: 43.66 kB / 0.578 GB, free: 108.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.317, allocations: 128.9 kB / 0.5781 GB, free: 108 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/1.317, allocations: 126.8 kB / 0.5782 GB, free: 108 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.317, allocations: 55.7 kB / 0.5783 GB, free: 107.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00339/1.321, allocations: 2.167 MB / 0.5804 GB, free: 106.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.321, allocations: 4 kB / 0.5804 GB, free: 106.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007046/1.328, allocations: 2.031 MB / 0.5824 GB, free: 104 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 178 * 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.006166/1.334, allocations: 5.464 MB / 0.5877 GB, free: 98.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007874/1.342, allocations: 4.781 MB / 0.5924 GB, free: 93.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.342, allocations: 0 / 0.5924 GB, free: 93.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002523/1.344, allocations: 1.63 MB / 0.594 GB, free: 92.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003852/1.348, allocations: 0.6631 MB / 0.5946 GB, free: 91.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06881/1.417, allocations: 35.8 MB / 0.6296 GB, free: 53.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006937/1.424, allocations: 5.794 MB / 0.6353 GB, free: 47.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004645/1.429, allocations: 1.828 MB / 0.637 GB, free: 45.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004939/1.434, allocations: 2.831 MB / 0.6398 GB, free: 43.09 MB / 430.1 MB Notification: Performance of SimCode: time 1.874e-06/1.434, allocations: 0 / 0.6398 GB, free: 43.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3874/1.821, allocations: 89.5 MB / 0.7272 GB, free: 128.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/1.821, allocations: 221.2 kB / 0.7274 GB, free: 128.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.728/5.55, allocations: 0 / 0.7274 GB, free: 128.1 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat