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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001393, allocations: 182.5 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008936/0.0008937, allocations: 87.17 kB / 267 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5262/0.5262, allocations: 43.46 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.049e-05/4.052e-05, allocations: 7.938 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1585, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5342/0.6928, allocations: 107.2 MB / 0.5776 GB, free: 14.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/0.6932, allocations: 79.89 kB / 0.5776 GB, free: 14.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.491/2.184, allocations: 387.8 MB / 0.9564 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.887e-06/2.185, allocations: 0 / 0.9564 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001189/2.186, allocations: 254.7 kB / 0.9566 GB, free: 61.32 MB / 0.5105 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.06282/2.249, allocations: 10.57 MB / 0.9669 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/2.249, allocations: 14.83 kB / 0.967 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01169/2.26, allocations: 1.715 MB / 0.9686 GB, free: 58 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05818/2.319, allocations: 8.387 MB / 0.9768 GB, free: 57.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02077/2.339, allocations: 7.481 MB / 0.9841 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001696/2.341, allocations: 0.865 MB / 0.985 GB, free: 56 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005576/2.347, allocations: 1.124 MB / 0.9861 GB, free: 55.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06154/2.408, allocations: 20.94 MB / 1.007 GB, free: 50.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005502/2.409, allocations: 19.03 kB / 1.007 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00477/2.414, allocations: 0.4896 MB / 1.007 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/2.415, allocations: 0.846 MB / 1.008 GB, free: 49.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04116/2.456, allocations: 19.57 MB / 1.027 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5484/3.004, allocations: 60.17 MB / 1.086 GB, free: 43.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03269/3.037, allocations: 23.88 MB / 1.109 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01989/3.057, allocations: 10.12 MB / 1.119 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002247/3.059, allocations: 365 kB / 1.119 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003129/3.06, allocations: 143.6 kB / 1.119 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1196): time 1.931e-05/3.06, allocations: 3.562 kB / 1.119 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1196): time 0.05197/3.112, allocations: 17.9 MB / 1.137 GB, free: 32.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.856e-05/3.112, allocations: 153.3 kB / 1.137 GB, free: 32.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004887/3.117, allocations: 2.786 MB / 1.14 GB, free: 32.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002826/3.12, allocations: 186 kB / 1.14 GB, free: 32.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00254/3.122, allocations: 3.469 MB / 1.143 GB, free: 31.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.006633/3.129, allocations: 3.89 MB / 1.147 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002881/3.132, allocations: 168.5 kB / 1.147 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002782/3.135, allocations: 0.7255 MB / 1.148 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0165/3.151, allocations: 6.998 MB / 1.155 GB, free: 44.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01625/3.167, allocations: 7.931 MB / 1.163 GB, free: 43.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01697/3.185, allocations: 8.277 MB / 1.171 GB, free: 42.51 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.484e-05/3.185, allocations: 3.188 kB / 1.171 GB, free: 42.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.0439/3.229, allocations: 18.68 MB / 1.189 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.771e-05/3.229, allocations: 10.59 kB / 1.189 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.837e-05/3.229, allocations: 14.53 kB / 1.189 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006431/3.235, allocations: 3.745 MB / 1.193 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/3.246, allocations: 1.913 MB / 1.194 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/3.268, allocations: 21.52 MB / 1.215 GB, free: 17.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007462/3.275, allocations: 1.132 MB / 1.217 GB, free: 17.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002582/3.278, allocations: 338.5 kB / 1.217 GB, free: 16.94 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.005332/3.283, allocations: 0.535 MB / 1.217 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00366/3.287, allocations: 0.5629 MB / 1.218 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04516/3.332, allocations: 20.25 MB / 1.238 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005327/3.333, allocations: 288.3 kB / 1.238 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.459e-05/3.333, allocations: 3.531 kB / 1.238 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002963/3.333, allocations: 49.55 kB / 1.238 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1185/3.452, allocations: 40.41 MB / 1.278 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000133/3.452, allocations: 3.188 kB / 1.278 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008945/3.461, allocations: 1.772 MB / 1.279 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006969/3.468, allocations: 3.713 MB / 1.283 GB, free: 9.102 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002815/3.471, allocations: 254.8 kB / 1.283 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4377/3.908, allocations: 21.41 MB / 1.304 GB, free: 94.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/3.908, allocations: 0.9375 kB / 1.304 GB, free: 94.78 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06662/3.975, allocations: 30.15 MB / 1.333 GB, free: 94.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002763/3.978, allocations: 0.8615 MB / 1.334 GB, free: 93.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004206/3.982, allocations: 168.1 kB / 1.334 GB, free: 93.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007993/3.99, allocations: 0.592 MB / 1.335 GB, free: 93.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003809/3.994, allocations: 0.8478 MB / 1.336 GB, free: 93.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002983/3.997, allocations: 316.2 kB / 1.336 GB, free: 93.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00409/4.001, allocations: 2.156 MB / 1.338 GB, free: 93.61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.32e-07/4.001, allocations: 0 / 1.338 GB, free: 93.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01654/4.018, allocations: 3.089 MB / 1.341 GB, free: 93.3 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.06801/4.086, allocations: 31.04 MB / 1.372 GB, free: 88.15 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03772/4.123, allocations: 17.6 MB / 1.389 GB, free: 81.39 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/4.123, allocations: 2.719 kB / 1.389 GB, free: 81.39 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0226/4.146, allocations: 9.716 MB / 1.398 GB, free: 77.49 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01039/4.157, allocations: 0.9838 MB / 1.399 GB, free: 77.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08022/4.237, allocations: 28.41 MB / 1.427 GB, free: 63.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01261/4.249, allocations: 8.274 MB / 1.435 GB, free: 57.66 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01173/4.261, allocations: 2.607 MB / 1.438 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01014/4.271, allocations: 4.125 MB / 1.442 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of SimCode: time 1.934e-06/4.271, allocations: 0 / 1.442 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7287/5, allocations: 223.9 MB / 1.66 GB, free: 24.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/5, allocations: 212.8 kB / 1.661 GB, free: 23.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.791/13.79, allocations: 4 kB / 1.661 GB, free: 23.81 MB / 0.5573 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) 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