Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_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.00134/0.00134, allocations: 95.34 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.001615/0.001615, allocations: 177.8 kB / 16.57 MB, free: 6.844 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.758/1.758, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.4052/0.4052, allocations: 43.55 MB / 314.5 MB, free: 8.969 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.0005602/0.0005604, allocations: 16 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1542, allocations: 58.84 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.2928/0.4471, allocations: 18.35 MB / 461.2 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.4614, allocations: 5.278 MB / 466.5 MB, free: 35.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00499/0.4664, allocations: 157.6 kB / 466.6 MB, free: 35.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004435/0.4709, allocations: 1.099 MB / 467.7 MB, free: 35.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009069/0.48, allocations: 1.966 MB / 469.7 MB, free: 35.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004885/0.4849, allocations: 1.308 MB / 471 MB, free: 35.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0147/0.4996, allocations: 9.374 MB / 480.4 MB, free: 30.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0533/0.553, allocations: 26.31 MB / 0.4948 GB, free: 18.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01673/0.5698, allocations: 5.087 MB / 0.4998 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01624/0.5861, allocations: 5.741 MB / 0.5054 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005303/0.5914, allocations: 0.8347 MB / 0.5062 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009072/0.6005, allocations: 1.017 MB / 0.5072 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007948/0.6085, allocations: 2.638 MB / 0.5098 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008939/0.6175, allocations: 2.823 MB / 0.5125 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03606/0.6536, allocations: 24.01 MB / 0.536 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6537, allocations: 0 / 0.536 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.047e-06/0.6537, allocations: 0 / 0.536 GB, free: 1.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0009941/0.6547, allocations: 0 / 0.536 GB, free: 1.574 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.05502/0.7097, allocations: 15.83 MB / 0.5514 GB, free: 1.637 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.7098, allocations: 12.03 kB / 0.5514 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01223/0.722, allocations: 2.046 MB / 0.5534 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06871/0.7908, allocations: 12.75 MB / 0.5659 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02532/0.8162, allocations: 7.796 MB / 0.5735 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001899/0.8181, allocations: 1.075 MB / 0.5746 GB, free: 9.824 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009267/0.8274, allocations: 1.394 MB / 0.5759 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07756/0.905, allocations: 23.88 MB / 0.5992 GB, free: 468 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009188/0.906, allocations: 23.83 kB / 0.5993 GB, free: 444 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008811/0.9149, allocations: 0.5781 MB / 0.5998 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001459/0.9164, allocations: 0.7335 MB / 0.6005 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06666/0.9831, allocations: 22.35 MB / 0.6224 GB, free: 8.742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8404/1.824, allocations: 73.07 MB / 0.6937 GB, free: 67.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02809/1.852, allocations: 31.56 MB / 0.7245 GB, free: 38.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0349/1.887, allocations: 15.51 MB / 0.7397 GB, free: 28.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/1.887, allocations: 84.84 kB / 0.7398 GB, free: 28.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=465): time 6.482e-06/1.887, allocations: 0 / 0.7398 GB, free: 28.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=465): time 0.03682/1.924, allocations: 15.38 MB / 0.7548 GB, free: 18.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.591e-05/1.924, allocations: 128.5 kB / 0.7549 GB, free: 18.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/1.934, allocations: 5.153 MB / 0.7599 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001305/1.935, allocations: 101.7 kB / 0.76 GB, free: 12.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004013/1.94, allocations: 6.048 MB / 0.7659 GB, free: 6.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002605/1.942, allocations: 1.594 MB / 0.7675 GB, free: 5.168 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006431/1.943, allocations: 160 kB / 0.7677 GB, free: 5.012 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004763/1.943, allocations: 0.6325 MB / 0.7683 GB, free: 4.375 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006585/1.95, allocations: 4.176 MB / 0.7724 GB, free: 200 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0127/1.963, allocations: 7.541 MB / 0.7797 GB, free: 7.117 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/1.974, allocations: 5.723 MB / 0.7853 GB, free: 1.492 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001331/1.974, allocations: 32 kB / 0.7853 GB, free: 1.461 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1006) (initialization): time 0.03058/2.005, allocations: 13.36 MB / 0.7984 GB, free: 4.758 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/2.005, allocations: 54.66 kB / 0.7984 GB, free: 4.707 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00027/2.005, allocations: 116 kB / 0.7985 GB, free: 4.594 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007038/2.012, allocations: 3.066 MB / 0.8015 GB, free: 1.523 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007958/2.02, allocations: 1.688 MB / 0.8032 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01805/2.039, allocations: 11.13 MB / 0.8141 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009309/2.048, allocations: 1.115 MB / 0.8152 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002502/2.051, allocations: 415.4 kB / 0.8155 GB, free: 3.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 518 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (859): * Single equations (assignments): 856 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.01494/2.066, allocations: 5.461 MB / 0.8209 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001758/2.067, allocations: 0.5053 MB / 0.8214 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01816/2.085, allocations: 9.625 MB / 0.8308 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.486e-05/2.086, allocations: 44 kB / 0.8308 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/2.086, allocations: 8 kB / 0.8308 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.399e-05/2.086, allocations: 23.91 kB / 0.8308 GB, free: 3.602 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4166/2.502, allocations: 20.66 MB / 0.851 GB, free: 181.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.84e-05/2.502, allocations: 2.688 kB / 0.851 GB, free: 181.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003666/2.506, allocations: 0.7352 MB / 0.8517 GB, free: 181.1 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005898/2.512, allocations: 2.912 MB / 0.8546 GB, free: 181 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008852/2.513, allocations: 101.2 kB / 0.8547 GB, free: 181 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/2.527, allocations: 10.93 MB / 0.8654 GB, free: 178.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/2.527, allocations: 1.594 kB / 0.8654 GB, free: 178.6 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02495/2.552, allocations: 14.09 MB / 0.8791 GB, free: 173.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005151/2.557, allocations: 1.33 MB / 0.8804 GB, free: 173 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001928/2.559, allocations: 77.27 kB / 0.8805 GB, free: 172.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004729/2.564, allocations: 389.5 kB / 0.8809 GB, free: 172.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/2.565, allocations: 339.4 kB / 0.8812 GB, free: 172.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004167/2.566, allocations: 132.5 kB / 0.8813 GB, free: 172.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01042/2.576, allocations: 3.426 MB / 0.8847 GB, free: 171.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.31e-07/2.576, allocations: 2 kB / 0.8847 GB, free: 171.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01573/2.592, allocations: 3.3 MB / 0.8879 GB, free: 170.6 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.03039/2.622, allocations: 14.86 MB / 0.9024 GB, free: 164.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01923/2.642, allocations: 10.57 MB / 0.9127 GB, free: 160.7 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/2.642, allocations: 0.875 kB / 0.9127 GB, free: 160.7 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009525/2.651, allocations: 5.02 MB / 0.9176 GB, free: 158.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006327/2.658, allocations: 1.147 MB / 0.9187 GB, free: 158.4 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.148/2.806, allocations: 146.8 MB / 1.062 GB, free: 12.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01688/2.822, allocations: 9.357 MB / 1.071 GB, free: 2.699 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.292/3.114, allocations: 2.945 MB / 1.074 GB, free: 174.6 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00932/3.124, allocations: 4.754 MB / 1.079 GB, free: 174.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.062e-06/3.124, allocations: 3.5 kB / 1.079 GB, free: 174.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2584/3.382, allocations: 173 MB / 1.248 GB, free: 47.42 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/3.383, allocations: 218.7 kB / 1.248 GB, free: 47.18 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.438/9.821, allocations: 4 kB / 1.248 GB, free: 47.17 MB / 0.5607 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat does not exist to compare? outputFormat=mat