Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.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.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",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.001012/0.001012, allocations: 95.73 kB / 15.68 MB, free: 488 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.001198/0.001198, allocations: 166.9 kB / 16.56 MB, free: 6.379 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.618/1.618, allocations: 205.4 MB / 222.7 MB, free: 5.641 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.3922/0.3922, allocations: 43.54 MB / 314.5 MB, free: 8.777 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.0005902/0.0005906, allocations: 19.98 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1457, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.3561/0.5019, allocations: 15.94 MB / 458.8 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.5139, allocations: 4.74 MB / 463.5 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003804/0.5177, allocations: 124.5 kB / 463.6 MB, free: 36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003038/0.5208, allocations: 0.9579 MB / 464.6 MB, free: 35.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007741/0.5286, allocations: 1.874 MB / 466.5 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003464/0.532, allocations: 0.9551 MB / 467.4 MB, free: 35.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01408/0.5461, allocations: 7.889 MB / 475.3 MB, free: 34.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04152/0.5877, allocations: 21.14 MB / 496.5 MB, free: 24.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01099/0.5988, allocations: 4.157 MB / 0.4889 GB, free: 22.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01283/0.6117, allocations: 4.742 MB / 0.4935 GB, free: 19.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005451/0.6172, allocations: 0.6854 MB / 0.4942 GB, free: 19.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/0.6278, allocations: 0.8293 MB / 0.495 GB, free: 19.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007264/0.6351, allocations: 2.263 MB / 0.4972 GB, free: 18.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008388/0.6435, allocations: 2.363 MB / 0.4995 GB, free: 17.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02585/0.6694, allocations: 19.8 MB / 0.5188 GB, free: 2.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.6694, allocations: 4 kB / 0.5188 GB, free: 2.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.6694, allocations: 0 / 0.5188 GB, free: 2.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008812/0.6703, allocations: 0 / 0.5188 GB, free: 2.973 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: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.04297/0.7133, allocations: 12.15 MB / 0.5307 GB, free: 6.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.7134, allocations: 12.03 kB / 0.5307 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008838/0.7222, allocations: 1.751 MB / 0.5324 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06901/0.7913, allocations: 12.48 MB / 0.5446 GB, free: 8.434 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/0.8149, allocations: 6.668 MB / 0.5511 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001871/0.8169, allocations: 0.9032 MB / 0.552 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007058/0.8239, allocations: 1.191 MB / 0.5532 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0646/0.8886, allocations: 18.84 MB / 0.5716 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005549/0.8892, allocations: 19.8 kB / 0.5716 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005529/0.8947, allocations: 0.4921 MB / 0.5721 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008161/0.8956, allocations: 0.6895 MB / 0.5728 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05437/0.95, allocations: 19.71 MB / 0.592 GB, free: 7.754 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7128/1.663, allocations: 62.14 MB / 0.6527 GB, free: 91.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02392/1.687, allocations: 20.08 MB / 0.6723 GB, free: 81.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009249/1.688, allocations: 240.5 kB / 0.6725 GB, free: 81.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/1.688, allocations: 113.7 kB / 0.6726 GB, free: 80.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=674): time 9.798e-06/1.688, allocations: 0 / 0.6726 GB, free: 80.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=674): time 0.02451/1.712, allocations: 12.39 MB / 0.6847 GB, free: 77.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.713, allocations: 124.1 kB / 0.6849 GB, free: 77.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01993/1.733, allocations: 8.591 MB / 0.6932 GB, free: 74.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001805/1.734, allocations: 144.9 kB / 0.6934 GB, free: 74.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004586/1.739, allocations: 4.606 MB / 0.6979 GB, free: 71.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003247/1.742, allocations: 2.26 MB / 0.7001 GB, free: 69.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/1.743, allocations: 158.2 kB / 0.7002 GB, free: 69.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0007596/1.744, allocations: 0.6337 MB / 0.7009 GB, free: 68.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007173/1.751, allocations: 4.152 MB / 0.7049 GB, free: 67.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01222/1.764, allocations: 7.184 MB / 0.7119 GB, free: 62.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01472/1.778, allocations: 5.724 MB / 0.7175 GB, free: 59.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002684/1.779, allocations: 29.38 kB / 0.7175 GB, free: 59.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=1034) (initialization): time 0.03637/1.815, allocations: 12.31 MB / 0.7296 GB, free: 53.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002059/1.815, allocations: 51.3 kB / 0.7296 GB, free: 53.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002886/1.816, allocations: 99.78 kB / 0.7297 GB, free: 53.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/1.817, allocations: 411.1 kB / 0.7301 GB, free: 53.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008786/1.826, allocations: 2.104 MB / 0.7322 GB, free: 52.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005779/1.831, allocations: 8.799 MB / 0.7407 GB, free: 43.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01023/1.842, allocations: 1.393 MB / 0.7421 GB, free: 43.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002386/1.844, allocations: 401.9 kB / 0.7425 GB, free: 42.97 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 457 * 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 (1028): * Single equations (assignments): 1022 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01426/1.858, allocations: 4.674 MB / 0.7471 GB, free: 39.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002585/1.861, allocations: 0.7136 MB / 0.7478 GB, free: 39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02198/1.883, allocations: 10.98 MB / 0.7585 GB, free: 27.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.952e-05/1.883, allocations: 72 kB / 0.7585 GB, free: 27.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.172e-05/1.883, allocations: 0 / 0.7585 GB, free: 27.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001262/1.883, allocations: 35.86 kB / 0.7586 GB, free: 27.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.544/2.427, allocations: 158.4 MB / 0.9133 GB, free: 118.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000261/2.428, allocations: 90.3 kB / 0.9134 GB, free: 118.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006401/2.434, allocations: 1.564 MB / 0.9149 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008694/2.435, allocations: 376.8 kB / 0.9153 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000914/2.436, allocations: 255.8 kB / 0.9155 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006176/2.442, allocations: 8.689 MB / 0.924 GB, free: 106.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-05/2.442, allocations: 139.4 kB / 0.9241 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02843/2.471, allocations: 34.5 MB / 0.9578 GB, free: 68.42 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006719/2.477, allocations: 2.035 MB / 0.9598 GB, free: 66.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002366/2.48, allocations: 247.9 kB / 0.96 GB, free: 66.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006553/2.486, allocations: 0.5642 MB / 0.9606 GB, free: 65.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001323/2.488, allocations: 0.7384 MB / 0.9613 GB, free: 64.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000555/2.488, allocations: 312 kB / 0.9616 GB, free: 64.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01131/2.5, allocations: 6.011 MB / 0.9675 GB, free: 58.58 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.31e-07/2.5, allocations: 0 / 0.9675 GB, free: 58.58 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0134/2.513, allocations: 2.679 MB / 0.9701 GB, free: 55.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.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 (741): * Single equations (assignments): 735 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0416/2.555, allocations: 51.47 MB / 1.02 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02272/2.577, allocations: 10.5 MB / 1.031 GB, free: 6.199 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.025e-05/2.577, allocations: 16 kB / 1.031 GB, free: 6.184 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0118/2.589, allocations: 5.463 MB / 1.036 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.415/3.004, allocations: 1.366 MB / 1.037 GB, free: 167.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2695/3.274, allocations: 156 MB / 1.19 GB, free: 49.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01877/3.293, allocations: 8.062 MB / 1.197 GB, free: 47.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01762/3.31, allocations: 3.659 MB / 1.201 GB, free: 46.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01654/3.327, allocations: 4.186 MB / 1.205 GB, free: 41.88 MB / 0.545 GB Notification: Performance of SimCode: time 1.54e-05/3.327, allocations: 0 / 1.205 GB, free: 41.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6817/4.009, allocations: 186.4 MB / 1.387 GB, free: 58.98 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/4.009, allocations: 225.2 kB / 1.387 GB, free: 58.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/11.75, allocations: 0 / 1.387 GB, free: 58.74 MB / 0.545 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat