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.0009398/0.0009399, 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.0009573/0.0009574, allocations: 175.2 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.423/1.423, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.3644/0.3644, allocations: 43.55 MB / 314.6 MB, free: 8.773 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.0005134/0.0005135, allocations: 14.97 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1183, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.2285/0.3468, allocations: 19.79 MB / 462.7 MB, free: 36.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008338/0.3552, allocations: 5.074 MB / 467.7 MB, free: 35.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002456/0.3577, allocations: 151.7 kB / 467.9 MB, free: 35.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.36, allocations: 1.019 MB / 468.9 MB, free: 34.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005947/0.366, allocations: 2.047 MB / 471 MB, free: 34.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.3698, allocations: 1.312 MB / 472.3 MB, free: 34.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01265/0.3825, allocations: 13.77 MB / 486 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04978/0.4323, allocations: 26.58 MB / 0.5006 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01154/0.4439, allocations: 5.588 MB / 0.5061 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01328/0.4572, allocations: 6.297 MB / 0.5122 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004243/0.4615, allocations: 0.8398 MB / 0.513 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006175/0.4677, allocations: 1.061 MB / 0.5141 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004643/0.4723, allocations: 2.714 MB / 0.5167 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005792/0.4782, allocations: 2.82 MB / 0.5195 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02706/0.5052, allocations: 24.05 MB / 0.543 GB, free: 10.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.5053, allocations: 3.938 kB / 0.543 GB, free: 10.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5053, allocations: 0 / 0.543 GB, free: 10.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009849/0.5063, allocations: 0 / 0.543 GB, free: 10.4 MB / 414.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.04767/0.554, allocations: 15.84 MB / 0.5584 GB, free: 10.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.5541, allocations: 12.03 kB / 0.5584 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008008/0.5621, allocations: 2.046 MB / 0.5604 GB, free: 8.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06148/0.6236, allocations: 12.75 MB / 0.5729 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01708/0.6407, allocations: 7.796 MB / 0.5805 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001476/0.6422, allocations: 1.068 MB / 0.5815 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006694/0.649, allocations: 1.406 MB / 0.5829 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06201/0.711, allocations: 24.01 MB / 0.6064 GB, free: 9.141 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007187/0.7117, allocations: 19.89 kB / 0.6064 GB, free: 9.121 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004591/0.7164, allocations: 0.5742 MB / 0.6069 GB, free: 8.547 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007757/0.7171, allocations: 0.7335 MB / 0.6077 GB, free: 7.812 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04604/0.7632, allocations: 22.38 MB / 0.6295 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5732/1.336, allocations: 73.48 MB / 0.7013 GB, free: 59.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02123/1.358, allocations: 31.6 MB / 0.7321 GB, free: 30.15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008671/1.366, allocations: 5.07 MB / 0.7371 GB, free: 27.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02851/1.395, allocations: 15.83 MB / 0.7526 GB, free: 17.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/1.395, allocations: 85.27 kB / 0.7526 GB, free: 17.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=465): time 7.213e-06/1.395, allocations: 0 / 0.7526 GB, free: 17.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=465): time 0.03474/1.43, allocations: 15.57 MB / 0.7678 GB, free: 4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/1.43, allocations: 124.7 kB / 0.768 GB, free: 3.859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.44, allocations: 5.217 MB / 0.7731 GB, free: 14.64 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009362/1.441, allocations: 99.45 kB / 0.7731 GB, free: 14.54 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004972/1.446, allocations: 6.047 MB / 0.7791 GB, free: 8.465 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002367/1.448, allocations: 1.59 MB / 0.7806 GB, free: 6.887 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/1.449, allocations: 156 kB / 0.7808 GB, free: 6.734 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0007338/1.45, allocations: 0.6285 MB / 0.7814 GB, free: 6.102 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007401/1.458, allocations: 4.196 MB / 0.7855 GB, free: 1.902 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009935/1.468, allocations: 7.565 MB / 0.7929 GB, free: 8.816 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009527/1.477, allocations: 5.724 MB / 0.7984 GB, free: 3.188 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/1.477, allocations: 32 kB / 0.7985 GB, free: 3.156 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02845/1.506, allocations: 13.4 MB / 0.8116 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002082/1.506, allocations: 55.98 kB / 0.8116 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002787/1.506, allocations: 112 kB / 0.8117 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006507/1.513, allocations: 3.113 MB / 0.8148 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005981/1.519, allocations: 1.668 MB / 0.8164 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03098/1.55, allocations: 21.9 MB / 0.8378 GB, free: 11.36 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008245/1.558, allocations: 1.119 MB / 0.8389 GB, free: 10.23 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001901/1.56, allocations: 400 kB / 0.8393 GB, free: 9.844 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (853): * Single equations (assignments): 850 * 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.01242/1.573, allocations: 5.451 MB / 0.8446 GB, free: 4.5 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001747/1.574, allocations: 0.5125 MB / 0.8451 GB, free: 3.984 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2945/1.869, allocations: 9.702 MB / 0.8546 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.056e-05/1.869, allocations: 48.16 kB / 0.8546 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.869, allocations: 0 / 0.8546 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.483e-05/1.869, allocations: 25.92 kB / 0.8546 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03464/1.904, allocations: 20.9 MB / 0.875 GB, free: 174.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/1.904, allocations: 3.891 kB / 0.875 GB, free: 174.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002956/1.907, allocations: 0.7411 MB / 0.8758 GB, free: 174.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006213/1.913, allocations: 2.954 MB / 0.8786 GB, free: 173.9 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005704/1.913, allocations: 99.58 kB / 0.8787 GB, free: 173.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02861/1.942, allocations: 21.65 MB / 0.8999 GB, free: 162.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.942, allocations: 0.7188 kB / 0.8999 GB, free: 162.9 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01963/1.962, allocations: 14.19 MB / 0.9137 GB, free: 157.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003135/1.965, allocations: 1.389 MB / 0.9151 GB, free: 156.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001058/1.966, allocations: 84.45 kB / 0.9152 GB, free: 156.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00282/1.969, allocations: 398.4 kB / 0.9156 GB, free: 156.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009413/1.97, allocations: 380 kB / 0.9159 GB, free: 156.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002915/1.97, allocations: 135.2 kB / 0.9161 GB, free: 156.5 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005193/1.975, allocations: 3.465 MB / 0.9194 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.51e-07/1.975, allocations: 0 / 0.9194 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01177/1.987, allocations: 3.468 MB / 0.9228 GB, free: 154.2 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.02261/2.01, allocations: 14.91 MB / 0.9374 GB, free: 142.5 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01836/2.028, allocations: 11.55 MB / 0.9487 GB, free: 131.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/2.028, allocations: 0 / 0.9487 GB, free: 131.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01036/2.039, allocations: 5.996 MB / 0.9545 GB, free: 125 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00894/2.048, allocations: 1.226 MB / 0.9557 GB, free: 123.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1099/2.158, allocations: 69.8 MB / 1.024 GB, free: 50.61 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01399/2.172, allocations: 9.221 MB / 1.033 GB, free: 41.34 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.008271/2.18, allocations: 2.94 MB / 1.036 GB, free: 38.39 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008373/2.188, allocations: 4.83 MB / 1.04 GB, free: 33.56 MB / 0.5607 GB Notification: Performance of SimCode: time 2.224e-06/2.188, allocations: 0 / 1.04 GB, free: 33.56 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4909/2.679, allocations: 187.6 MB / 1.224 GB, free: 41 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/2.68, allocations: 227.8 kB / 1.224 GB, free: 40.75 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.046/7.725, allocations: 7.938 kB / 1.224 GB, free: 40.75 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