Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json 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) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 221.3 MB / 236 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008354/0.0008355, allocations: 83.86 kB / 287 MB, free: 192 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.217/0.217, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.518e-05/4.53e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.16, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4846/0.6447, allocations: 115.9 MB / 0.6149 GB, free: 5.316 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.645, allocations: 83.95 kB / 0.615 GB, free: 5.234 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.657/2.302, allocations: 469.4 MB / 1.073 GB, free: 32.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.254e-06/2.302, allocations: 0 / 1.073 GB, free: 32.85 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0008865/2.303, allocations: 311.5 kB / 1.074 GB, free: 32.55 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.05201/2.355, allocations: 13.4 MB / 1.087 GB, free: 19.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/2.355, allocations: 8.031 kB / 1.087 GB, free: 19.05 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009623/2.364, allocations: 1.978 MB / 1.089 GB, free: 17.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04331/2.408, allocations: 7.876 MB / 1.096 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02716/2.435, allocations: 9.07 MB / 1.105 GB, free: 8 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.8028/3.238, allocations: 0.9859 MB / 1.106 GB, free: 45.31 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006775/3.245, allocations: 1.291 MB / 1.108 GB, free: 45.31 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06799/3.313, allocations: 22.9 MB / 1.13 GB, free: 43.73 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005282/3.313, allocations: 19.92 kB / 1.13 GB, free: 43.73 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004205/3.317, allocations: 0.5546 MB / 1.13 GB, free: 43.73 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00122/3.319, allocations: 1.026 MB / 1.131 GB, free: 43.7 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04327/3.362, allocations: 19.51 MB / 1.151 GB, free: 43.57 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1379/3.5, allocations: 72.18 MB / 1.221 GB, free: 17.63 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02539/3.525, allocations: 28.47 MB / 1.249 GB, free: 9.305 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009189/3.535, allocations: 4.799 MB / 1.254 GB, free: 7.48 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03628/3.571, allocations: 15.81 MB / 1.269 GB, free: 0.6445 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.355e-05/3.571, allocations: 82.11 kB / 1.269 GB, free: 0.5547 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=465): time 9.328e-06/3.571, allocations: 0 / 1.269 GB, free: 0.5547 MB / 0.5418 GB Notification: Performance of matching and sorting (n=465): time 0.02622/3.597, allocations: 8.764 MB / 1.278 GB, free: 11.32 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/3.598, allocations: 124.7 kB / 1.278 GB, free: 11.18 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01135/3.609, allocations: 4.514 MB / 1.282 GB, free: 7.266 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001127/3.61, allocations: 97.7 kB / 1.282 GB, free: 7.164 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.005486/3.616, allocations: 5.864 MB / 1.288 GB, free: 1.984 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.003074/3.619, allocations: 1.581 MB / 1.289 GB, free: 0.5664 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001482/3.62, allocations: 148 kB / 1.29 GB, free: 432 kB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.000925/3.621, allocations: 0.613 MB / 1.29 GB, free: 15.89 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00728/3.628, allocations: 3.964 MB / 1.294 GB, free: 12.47 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01087/3.639, allocations: 6.982 MB / 1.301 GB, free: 4.781 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009634/3.649, allocations: 5.437 MB / 1.306 GB, free: 380 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001231/3.649, allocations: 31.09 kB / 1.306 GB, free: 352 kB / 0.573 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.03434/3.684, allocations: 13.19 MB / 1.319 GB, free: 7.234 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001839/3.684, allocations: 48 kB / 1.319 GB, free: 7.188 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002581/3.684, allocations: 104 kB / 1.319 GB, free: 7.086 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00694/3.691, allocations: 3.082 MB / 1.322 GB, free: 4.719 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006518/3.698, allocations: 1.576 MB / 1.324 GB, free: 3.492 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4493/4.147, allocations: 6.458 MB / 1.33 GB, free: 99.77 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008577/4.156, allocations: 1.062 MB / 1.331 GB, free: 99.77 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002689/4.158, allocations: 376.8 kB / 1.332 GB, free: 99.77 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (802): * Single equations (assignments): 799 * 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 28,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.002539/4.161, allocations: 0.5803 MB / 1.332 GB, free: 99.66 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002206/4.163, allocations: 0.4942 MB / 1.333 GB, free: 99.66 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01861/4.182, allocations: 9.354 MB / 1.342 GB, free: 99.44 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.602e-05/4.182, allocations: 47.62 kB / 1.342 GB, free: 99.44 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/4.182, allocations: 3.594 kB / 1.342 GB, free: 99.44 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-05/4.182, allocations: 25.02 kB / 1.342 GB, free: 99.44 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04677/4.229, allocations: 20.49 MB / 1.362 GB, free: 98.69 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/4.229, allocations: 0 / 1.362 GB, free: 98.69 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003268/4.232, allocations: 0.7409 MB / 1.363 GB, free: 98.69 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005734/4.238, allocations: 2.941 MB / 1.365 GB, free: 98.64 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008148/4.239, allocations: 97.06 kB / 1.365 GB, free: 98.64 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006992/4.246, allocations: 6.229 MB / 1.372 GB, free: 97 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/4.246, allocations: 2.438 kB / 1.372 GB, free: 97 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01984/4.265, allocations: 13.75 MB / 1.385 GB, free: 96.29 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005164/4.271, allocations: 1.398 MB / 1.386 GB, free: 95.93 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001349/4.272, allocations: 78.53 kB / 1.386 GB, free: 95.93 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003404/4.275, allocations: 398.1 kB / 1.387 GB, free: 95.93 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006879/4.276, allocations: 311.7 kB / 1.387 GB, free: 95.92 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003434/4.277, allocations: 124.6 kB / 1.387 GB, free: 95.92 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.00611/4.283, allocations: 3.362 MB / 1.391 GB, free: 95.72 MB / 0.5887 GB Notification: Performance of sort global known variables: time 3.61e-07/4.283, allocations: 0 / 1.391 GB, free: 95.72 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.01081/4.293, allocations: 3.192 MB / 1.394 GB, free: 95.13 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealClosingSwitch.idealClosingSwitch[1].pin_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 () * 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 28,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.01971/4.313, allocations: 14.56 MB / 1.408 GB, free: 93.86 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.01695/4.33, allocations: 9.806 MB / 1.417 GB, free: 93.52 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/4.33, allocations: 0 / 1.417 GB, free: 93.52 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.009196/4.34, allocations: 4.569 MB / 1.422 GB, free: 92.93 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007672/4.347, allocations: 1.152 MB / 1.423 GB, free: 92.63 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06125/4.409, allocations: 24.87 MB / 1.447 GB, free: 83.96 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01601/4.425, allocations: 9.242 MB / 1.456 GB, free: 78.59 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.0103/4.435, allocations: 2.855 MB / 1.459 GB, free: 76.79 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01095/4.446, allocations: 4.65 MB / 1.464 GB, free: 72.46 MB / 0.5887 GB Notification: Performance of SimCode: time 1.052e-06/4.446, allocations: 0 / 1.464 GB, free: 72.46 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6938/5.14, allocations: 174.3 MB / 1.634 GB, free: 89.93 MB / 0.5887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/5.14, allocations: 194.4 kB / 1.634 GB, free: 89.7 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.844/11.98, allocations: 4 kB / 1.634 GB, free: 89.7 MB / 0.5887 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat does not exist to compare? outputFormat=mat