Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002319/0.002319, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.288/2.288, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 82.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2954/0.2954, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.16e-05/4.171e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1298, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5454/0.6753, allocations: 107.2 MB / 0.5776 GB, free: 12.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.6757, allocations: 84.67 kB / 0.5776 GB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014/2.69, allocations: 387.8 MB / 0.9564 GB, free: 51.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.377e-06/2.69, allocations: 6.344 kB / 0.9564 GB, free: 51.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001054/2.691, allocations: 254.8 kB / 0.9566 GB, free: 51.12 MB / 0.4948 GB 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.05255/2.743, allocations: 10.57 MB / 0.9669 GB, free: 47.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/2.744, allocations: 10.84 kB / 0.9669 GB, free: 47.93 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008428/2.752, allocations: 1.727 MB / 0.9686 GB, free: 47.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06712/2.819, allocations: 8.383 MB / 0.9768 GB, free: 47.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02673/2.846, allocations: 7.484 MB / 0.9841 GB, free: 45.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001512/2.847, allocations: 0.875 MB / 0.985 GB, free: 45.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006365/2.854, allocations: 1.111 MB / 0.9861 GB, free: 45.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06938/2.923, allocations: 20.94 MB / 1.007 GB, free: 41.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007191/2.924, allocations: 14.75 kB / 1.007 GB, free: 41.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005626/2.93, allocations: 495.8 kB / 1.007 GB, free: 41.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001422/2.931, allocations: 0.8513 MB / 1.008 GB, free: 41.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05827/2.99, allocations: 19.57 MB / 1.027 GB, free: 32.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1927/3.182, allocations: 60.31 MB / 1.086 GB, free: 372 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5616/3.744, allocations: 23.89 MB / 1.109 GB, free: 64.78 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02739/3.771, allocations: 10.13 MB / 1.119 GB, free: 64.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002097/3.774, allocations: 365.5 kB / 1.119 GB, free: 64.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/3.774, allocations: 141.5 kB / 1.12 GB, free: 64.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1196): time 1.966e-05/3.774, allocations: 0 / 1.12 GB, free: 64.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1196): time 0.0594/3.833, allocations: 17.89 MB / 1.137 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/3.833, allocations: 154.6 kB / 1.137 GB, free: 64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0112/3.845, allocations: 2.782 MB / 1.14 GB, free: 63.78 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003751/3.848, allocations: 186 kB / 1.14 GB, free: 63.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00451/3.853, allocations: 3.308 MB / 1.143 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.008341/3.861, allocations: 3.893 MB / 1.147 GB, free: 60.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003331/3.865, allocations: 167.5 kB / 1.147 GB, free: 60.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00149/3.866, allocations: 0.7293 MB / 1.148 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01937/3.886, allocations: 7.006 MB / 1.155 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02158/3.907, allocations: 7.915 MB / 1.163 GB, free: 59.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0225/3.93, allocations: 8.28 MB / 1.171 GB, free: 59.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.399e-05/3.93, allocations: 2.5 kB / 1.171 GB, free: 59.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.05509/3.985, allocations: 18.49 MB / 1.189 GB, free: 53.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/3.985, allocations: 11.34 kB / 1.189 GB, free: 53.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.79e-05/3.985, allocations: 12.94 kB / 1.189 GB, free: 53.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01096/3.996, allocations: 3.742 MB / 1.192 GB, free: 51.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01629/4.013, allocations: 1.906 MB / 1.194 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02636/4.039, allocations: 21.54 MB / 1.215 GB, free: 35.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01054/4.05, allocations: 1.126 MB / 1.216 GB, free: 34.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003173/4.053, allocations: 341.4 kB / 1.217 GB, free: 34.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (933): * Single equations (assignments): 818 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * 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: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.005378/4.058, allocations: 0.5437 MB / 1.217 GB, free: 34.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003563/4.062, allocations: 0.5647 MB / 1.218 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07663/4.139, allocations: 20.25 MB / 1.238 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007014/4.139, allocations: 293.5 kB / 1.238 GB, free: 25.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001038/4.14, allocations: 0 / 1.238 GB, free: 25.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003352/4.14, allocations: 49.83 kB / 1.238 GB, free: 25.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.147/4.287, allocations: 38.57 MB / 1.276 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001719/4.287, allocations: 3.031 kB / 1.276 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01622/4.303, allocations: 1.773 MB / 1.277 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01151/4.315, allocations: 3.706 MB / 1.281 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00315/4.318, allocations: 249.5 kB / 1.281 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03363/4.352, allocations: 21.47 MB / 1.302 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/4.352, allocations: 6.484 kB / 1.302 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5153/4.867, allocations: 30.16 MB / 1.332 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/4.87, allocations: 0.8555 MB / 1.332 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003727/4.873, allocations: 171.8 kB / 1.333 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01011/4.884, allocations: 0.5977 MB / 1.333 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004418/4.888, allocations: 0.8413 MB / 1.334 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003141/4.891, allocations: 323.1 kB / 1.334 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005596/4.897, allocations: 2.148 MB / 1.336 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.192e-06/4.897, allocations: 0 / 1.336 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01484/4.912, allocations: 3.085 MB / 1.339 GB, free: 101.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (921): * Single equations (assignments): 806 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * 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: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.08452/4.996, allocations: 31.05 MB / 1.37 GB, free: 99.63 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.04761/5.044, allocations: 17.6 MB / 1.387 GB, free: 94.13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/5.044, allocations: 0 / 1.387 GB, free: 94.13 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02657/5.071, allocations: 9.717 MB / 1.396 GB, free: 90.23 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0111/5.082, allocations: 0.9802 MB / 1.397 GB, free: 89.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08971/5.172, allocations: 27.78 MB / 1.424 GB, free: 79.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01593/5.188, allocations: 8.014 MB / 1.432 GB, free: 75.37 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01382/5.201, allocations: 4.189 MB / 1.436 GB, free: 71.48 MB / 0.5573 GB Notification: Performance of SimCode: time 1.613e-06/5.202, allocations: 0 / 1.436 GB, free: 71.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.18/15.38, allocations: 1.207 GB / 2.644 GB, free: 126.6 MB / 0.6042 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat