Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",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.0007991/0.0007991, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008203/0.0008204, allocations: 175.4 kB / 16.58 MB, free: 6.84 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.357/1.357, allocations: 205.4 MB / 222.7 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3418/0.3418, allocations: 43.55 MB / 314.6 MB, free: 8.664 MB / 254.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.0004868/0.0004871, allocations: 19.98 kB / 384 MB, free: 7.953 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 58.85 MB / 442.9 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006424/0.1245, allocations: 6.66 MB / 449.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004086/0.1286, allocations: 2.171 MB / 451.7 MB, free: 4.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004945/0.1291, allocations: 27.94 kB / 451.7 MB, free: 4.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.1298, allocations: 262.5 kB / 452 MB, free: 3.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.1314, allocations: 0.7504 MB / 452.7 MB, free: 3.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.133, allocations: 0.7328 MB / 453.5 MB, free: 2.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.1345, allocations: 1.296 MB / 454.8 MB, free: 1.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2185/0.353, allocations: 1.522 MB / 456.3 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.3541, allocations: 0.5115 MB / 456.8 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009715/0.3551, allocations: 0.6357 MB / 457.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000369/0.3555, allocations: 56.78 kB / 457.5 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.3566, allocations: 266.1 kB / 457.8 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003189/0.3569, allocations: 236.5 kB / 458 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004066/0.3573, allocations: 242.4 kB / 458.2 MB, free: 36.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.3587, allocations: 1.313 MB / 459.5 MB, free: 36.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3587, allocations: 5 kB / 459.5 MB, free: 36.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3587, allocations: 1.312 kB / 459.5 MB, free: 36.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.3588, allocations: 0.8125 kB / 459.5 MB, free: 36.53 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.006/0.3648, allocations: 2.164 MB / 461.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3648, allocations: 9.156 kB / 461.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002802/0.3651, allocations: 205.8 kB / 461.9 MB, free: 35.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009365/0.3745, allocations: 1.508 MB / 463.4 MB, free: 35.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.3756, allocations: 0.5999 MB / 464 MB, free: 35.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.828e-05/0.3757, allocations: 98.47 kB / 464.1 MB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.3758, allocations: 135.6 kB / 464.3 MB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.3782, allocations: 1.528 MB / 465.8 MB, free: 35.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/0.3783, allocations: 6.875 kB / 465.8 MB, free: 35.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.3784, allocations: 63.05 kB / 465.8 MB, free: 35.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.3784, allocations: 37.34 kB / 465.9 MB, free: 35.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/0.3808, allocations: 1.586 MB / 467.5 MB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006808/0.3876, allocations: 5.577 MB / 473 MB, free: 33.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.3895, allocations: 2.372 MB / 475.4 MB, free: 31.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008592/0.3904, allocations: 0.666 MB / 476.1 MB, free: 31.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.3905, allocations: 104.6 kB / 476.2 MB, free: 31.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.3906, allocations: 55.38 kB / 476.2 MB, free: 31.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.356e-06/0.3906, allocations: 0 / 476.2 MB, free: 31.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.007927/0.3985, allocations: 3.124 MB / 479.4 MB, free: 31.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.3986, allocations: 90.33 kB / 479.5 MB, free: 31.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/0.3991, allocations: 485.7 kB / 479.9 MB, free: 30.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.3992, allocations: 44.8 kB / 480 MB, free: 30.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.3994, allocations: 487.1 kB / 480.4 MB, free: 30.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.3997, allocations: 430.8 kB / 480.9 MB, free: 30.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.3997, allocations: 23.16 kB / 480.9 MB, free: 30.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3999, allocations: 383.7 kB / 481.3 MB, free: 29.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007359/0.4006, allocations: 473.6 kB / 481.7 MB, free: 29.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000815/0.4014, allocations: 0.7455 MB / 482.5 MB, free: 29.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000805/0.4022, allocations: 0.5369 MB / 483 MB, free: 28.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.4023, allocations: 6.922 kB / 483 MB, free: 28.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002394/0.4047, allocations: 1.641 MB / 484.7 MB, free: 28.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.4047, allocations: 8.906 kB / 484.7 MB, free: 28.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.4047, allocations: 12.72 kB / 484.7 MB, free: 28.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.406, allocations: 0.5285 MB / 485.2 MB, free: 28.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/0.4068, allocations: 215.4 kB / 485.4 MB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006683/0.4134, allocations: 4.694 MB / 490.1 MB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008182/0.4143, allocations: 138.1 kB / 490.2 MB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.671e-05/0.4144, allocations: 54.47 kB / 490.3 MB, free: 25.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004899/0.4149, allocations: 271.9 kB / 490.6 MB, free: 24.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.4151, allocations: 88.3 kB / 490.7 MB, free: 24.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/0.418, allocations: 1.595 MB / 492.2 MB, free: 24.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.418, allocations: 13.25 kB / 492.3 MB, free: 24.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.418, allocations: 0.9375 kB / 492.3 MB, free: 24.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/0.418, allocations: 9.578 kB / 492.3 MB, free: 24.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004474/0.4225, allocations: 2.911 MB / 495.2 MB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.4225, allocations: 3.062 kB / 495.2 MB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/0.4231, allocations: 148.6 kB / 495.3 MB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.4245, allocations: 0.523 MB / 495.9 MB, free: 22.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.4246, allocations: 25.3 kB / 495.9 MB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00662/0.4312, allocations: 4.691 MB / 0.4888 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4312, allocations: 4.359 kB / 0.4888 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003955/0.4352, allocations: 2.312 MB / 0.4911 GB, free: 18.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005147/0.4357, allocations: 291 kB / 0.4914 GB, free: 17.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.4358, allocations: 28 kB / 0.4914 GB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005349/0.4364, allocations: 55.48 kB / 0.4915 GB, free: 17.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.4366, allocations: 100 kB / 0.4916 GB, free: 17.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.4367, allocations: 42.48 kB / 0.4916 GB, free: 17.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003736/0.4371, allocations: 312.3 kB / 0.4919 GB, free: 17.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4371, allocations: 0 / 0.4919 GB, free: 17.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00138/0.4385, allocations: 424.5 kB / 0.4923 GB, free: 17.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.003793/0.4423, allocations: 2.921 MB / 0.4951 GB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003292/0.4456, allocations: 1.87 MB / 0.497 GB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4456, allocations: 0 / 0.497 GB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.4477, allocations: 1.245 MB / 0.4982 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006941/0.4484, allocations: 104.2 kB / 0.4983 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.4587, allocations: 6.144 MB / 0.5043 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.4594, allocations: 1.086 MB / 0.5053 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005449/0.46, allocations: 109.8 kB / 0.5055 GB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.4604, allocations: 403.8 kB / 0.5058 GB, free: 10.01 MB / 382.1 MB Notification: Performance of SimCode: time 1.011e-06/0.4604, allocations: 0 / 0.5058 GB, free: 10.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04196/0.5024, allocations: 24.06 MB / 0.5293 GB, free: 4.488 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.5026, allocations: 225.2 kB / 0.5295 GB, free: 4.242 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/2.791, allocations: 6.516 kB / 0.5296 GB, free: 4.238 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat does not exist to compare? outputFormat=mat