Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_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.000778/0.0007815, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.0008475/0.0008474, allocations: 183.9 kB / 17.21 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.3 MB / 241.2 MB, free: 5.406 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003461, allocations: 6.156 kB / 300.9 MB, free: 5.949 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 50.43 MB / 351.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.0153/0.135, allocations: 14.17 MB / 365.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008067/0.1431, allocations: 3.71 MB / 369.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002778/0.1459, allocations: 123.7 kB / 369.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002632/0.1486, allocations: 0.6832 MB / 370 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005344/0.1539, allocations: 1.201 MB / 371.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.1569, allocations: 0.8103 MB / 372 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.1676, allocations: 7.554 MB / 379.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03806/0.2057, allocations: 18.32 MB / 397.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006092/0.2118, allocations: 3.267 MB / 401.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006717/0.2185, allocations: 3.665 MB / 404.9 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001809/0.2204, allocations: 0.543 MB / 405.4 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.224, allocations: 0.7888 MB / 406.2 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003101/0.2272, allocations: 1.479 MB / 407.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003745/0.2309, allocations: 1.748 MB / 409.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01936/0.2503, allocations: 15.49 MB / 424.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.2504, allocations: 0 / 424.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.808e-06/0.2504, allocations: 0 / 424.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006753/0.2511, allocations: 4 kB / 424.9 MB, free: 1.715 MB / 350.1 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.4002/0.6513, allocations: 8.597 MB / 433.5 MB, free: 53.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.6514, allocations: 9.609 kB / 433.5 MB, free: 53.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005874/0.6573, allocations: 1.293 MB / 434.8 MB, free: 53.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01946/0.6767, allocations: 3.751 MB / 438.6 MB, free: 51.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/0.6868, allocations: 5.131 MB / 443.7 MB, free: 49.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005277/0.6873, allocations: 0.6775 MB / 444.4 MB, free: 49.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002686/0.69, allocations: 0.8912 MB / 445.3 MB, free: 49.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03323/0.7233, allocations: 12.67 MB / 457.9 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003686/0.7237, allocations: 4 kB / 457.9 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002601/0.7263, allocations: 385 kB / 458.3 MB, free: 38.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003225/0.7266, allocations: 399.1 kB / 458.7 MB, free: 37.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02404/0.7507, allocations: 11.35 MB / 470.1 MB, free: 26.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06742/0.8181, allocations: 43.78 MB / 0.5018 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.8285, allocations: 10.53 MB / 0.5121 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/0.8311, allocations: 1.717 MB / 0.5137 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.8314, allocations: 142.9 kB / 0.5139 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.8314, allocations: 52.56 kB / 0.5139 GB, free: 15.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=229): time 4.468e-06/0.8314, allocations: 4 kB / 0.5139 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=229): time 0.009072/0.8405, allocations: 4.732 MB / 0.5186 GB, free: 11.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.8406, allocations: 85.3 kB / 0.5186 GB, free: 11.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004778/0.8454, allocations: 2.906 MB / 0.5215 GB, free: 8.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003242/0.8457, allocations: 57.7 kB / 0.5215 GB, free: 8.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002644/0.8484, allocations: 3.823 MB / 0.5253 GB, free: 4.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009615/0.8494, allocations: 0.8109 MB / 0.5261 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.8497, allocations: 100 kB / 0.5262 GB, free: 3.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003718/0.8501, allocations: 0.4884 MB / 0.5266 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003006/0.8531, allocations: 1.992 MB / 0.5286 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004049/0.8571, allocations: 4.181 MB / 0.5327 GB, free: 11.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004079/0.8612, allocations: 3.039 MB / 0.5356 GB, free: 8.531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4e-05/0.8613, allocations: 20 kB / 0.5356 GB, free: 8.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.01022/0.8715, allocations: 6.539 MB / 0.542 GB, free: 1.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.8716, allocations: 38.66 kB / 0.5421 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/0.8718, allocations: 76 kB / 0.5421 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000886/0.8727, allocations: 420.7 kB / 0.5425 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003481/0.8762, allocations: 1.061 MB / 0.5436 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004926/0.8811, allocations: 4.072 MB / 0.5476 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003903/0.885, allocations: 0.6191 MB / 0.5482 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007463/0.8858, allocations: 252 kB / 0.5484 GB, free: 11.26 MB / 430.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (569): * Single equations (assignments): 564 * 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.0066/0.8924, allocations: 3.369 MB / 0.5517 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009439/0.8934, allocations: 280.5 kB / 0.552 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00599/0.8994, allocations: 3.655 MB / 0.5555 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003999/0.9034, allocations: 2.87 MB / 0.5583 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.9034, allocations: 4 kB / 0.5583 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/0.9035, allocations: 11.95 kB / 0.5583 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/0.9211, allocations: 10.04 MB / 0.5682 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.9212, allocations: 4 kB / 0.5682 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.9227, allocations: 407.4 kB / 0.5685 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006993/0.9234, allocations: 312.7 kB / 0.5688 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/0.9235, allocations: 48 kB / 0.5689 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004745/0.9283, allocations: 3.89 MB / 0.5727 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.9283, allocations: 4 kB / 0.5727 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00775/0.9361, allocations: 5.234 MB / 0.5778 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/0.9377, allocations: 0.6219 MB / 0.5784 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003339/0.938, allocations: 36 kB / 0.5784 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.9391, allocations: 139.8 kB / 0.5786 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/0.9394, allocations: 141.8 kB / 0.5787 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.9395, allocations: 63.98 kB / 0.5788 GB, free: 11.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003552/0.9431, allocations: 1.943 MB / 0.5807 GB, free: 9.922 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9431, allocations: 0 / 0.5807 GB, free: 9.922 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006112/0.9492, allocations: 1.963 MB / 0.5826 GB, free: 7.953 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (218): * Single equations (assignments): 213 * 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.007835/0.9571, allocations: 5.897 MB / 0.5883 GB, free: 2.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.245/1.202, allocations: 4.675 MB / 0.5929 GB, free: 153.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.202, allocations: 3 kB / 0.5929 GB, free: 153.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003301/1.205, allocations: 1.772 MB / 0.5946 GB, free: 153.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/1.209, allocations: 0.6443 MB / 0.5953 GB, free: 153.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05818/1.267, allocations: 34.01 MB / 0.6285 GB, free: 134.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005618/1.273, allocations: 5.645 MB / 0.634 GB, free: 129 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004019/1.277, allocations: 1.694 MB / 0.6357 GB, free: 127.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003165/1.28, allocations: 2.722 MB / 0.6383 GB, free: 124.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/1.28, allocations: 0 / 0.6383 GB, free: 124.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/1.394, allocations: 87.47 MB / 0.7237 GB, free: 37.46 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/1.394, allocations: 235.7 kB / 0.724 GB, free: 37.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.242/4.636, allocations: 3.75 kB / 0.724 GB, free: 37.2 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat