Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 195 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008944/0.0008943, allocations: 93.27 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1803/0.1803, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.888e-05, allocations: 0 / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 63.25 MB / 0.5115 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3921/0.4939, allocations: 112.1 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.4943, allocations: 81.7 kB / 0.621 GB, free: 13.78 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.299/1.793, allocations: 408 MB / 1.02 GB, free: 76.12 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.493e-06/1.793, allocations: 0 / 1.02 GB, free: 76.12 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0007378/1.794, allocations: 254 kB / 1.02 GB, free: 76.11 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03421/1.828, allocations: 10.44 MB / 1.03 GB, free: 72.96 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.828, allocations: 15.06 kB / 1.03 GB, free: 72.95 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005896/1.834, allocations: 1.69 MB / 1.032 GB, free: 72.83 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03784/1.872, allocations: 7.74 MB / 1.039 GB, free: 72.19 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01669/1.889, allocations: 7.66 MB / 1.047 GB, free: 70.94 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007695/1.89, allocations: 0.8407 MB / 1.047 GB, free: 70.92 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004369/1.894, allocations: 1.092 MB / 1.049 GB, free: 70.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04214/1.936, allocations: 19.46 MB / 1.068 GB, free: 66.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003799/1.937, allocations: 18.42 kB / 1.068 GB, free: 66.59 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002822/1.939, allocations: 488.2 kB / 1.068 GB, free: 66.23 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009285/1.94, allocations: 0.9181 MB / 1.069 GB, free: 66.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0362/1.977, allocations: 17.38 MB / 1.086 GB, free: 58.05 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09563/2.072, allocations: 60.59 MB / 1.145 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02077/2.093, allocations: 16.48 MB / 1.161 GB, free: 7.641 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006784/2.1, allocations: 4.392 MB / 1.165 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006689/2.101, allocations: 320.5 kB / 1.166 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.461e-05/2.101, allocations: 107.8 kB / 1.166 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=653): time 7.454e-06/2.101, allocations: 0 / 1.166 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of matching and sorting (n=653): time 0.3321/2.433, allocations: 8.142 MB / 1.174 GB, free: 86.55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.418e-05/2.433, allocations: 126.9 kB / 1.174 GB, free: 86.48 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01411/2.447, allocations: 7.742 MB / 1.181 GB, free: 86.11 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001122/2.448, allocations: 133.1 kB / 1.182 GB, free: 86.08 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003556/2.452, allocations: 4.482 MB / 1.186 GB, free: 84.81 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00224/2.454, allocations: 2.188 MB / 1.188 GB, free: 83.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005281/2.455, allocations: 154.8 kB / 1.188 GB, free: 83.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003646/2.455, allocations: 0.6192 MB / 1.189 GB, free: 83.29 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005964/2.461, allocations: 3.988 MB / 1.193 GB, free: 83.27 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008668/2.47, allocations: 6.767 MB / 1.199 GB, free: 79.94 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008545/2.478, allocations: 5.517 MB / 1.205 GB, free: 79.83 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/2.478, allocations: 26.5 kB / 1.205 GB, free: 79.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02074/2.499, allocations: 11.78 MB / 1.216 GB, free: 79.19 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/2.499, allocations: 45.16 kB / 1.216 GB, free: 79.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002041/2.5, allocations: 87.97 kB / 1.216 GB, free: 79.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009571/2.501, allocations: 424.5 kB / 1.217 GB, free: 79.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007346/2.508, allocations: 2 MB / 1.219 GB, free: 79.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005187/2.513, allocations: 8.905 MB / 1.227 GB, free: 71.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007834/2.521, allocations: 1.346 MB / 1.229 GB, free: 70.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001632/2.523, allocations: 374.3 kB / 1.229 GB, free: 70.96 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (971): * Single equations (assignments): 965 * 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: 6 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001441/2.524, allocations: 0.6089 MB / 1.23 GB, free: 70.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/2.525, allocations: 0.7085 MB / 1.23 GB, free: 70.41 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01636/2.542, allocations: 10.44 MB / 1.241 GB, free: 69.85 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.817e-05/2.542, allocations: 66.72 kB / 1.241 GB, free: 69.85 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/2.542, allocations: 3.75 kB / 1.241 GB, free: 69.85 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.347e-05/2.542, allocations: 33.47 kB / 1.241 GB, free: 69.85 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4972/3.039, allocations: 158.4 MB / 1.395 GB, free: 94.14 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002265/3.039, allocations: 90.53 kB / 1.396 GB, free: 94.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00615/3.046, allocations: 1.543 MB / 1.397 GB, free: 94.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009915/3.047, allocations: 389.2 kB / 1.397 GB, free: 94.09 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001053/3.048, allocations: 248.6 kB / 1.398 GB, free: 94.09 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006538/3.054, allocations: 8.787 MB / 1.406 GB, free: 86.65 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001477/3.054, allocations: 134.5 kB / 1.406 GB, free: 86.65 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02823/3.083, allocations: 33.51 MB / 1.439 GB, free: 63.68 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003024/3.086, allocations: 1.25 MB / 1.44 GB, free: 63.24 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001921/3.088, allocations: 239 kB / 1.44 GB, free: 63.24 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005824/3.093, allocations: 0.5623 MB / 1.441 GB, free: 63.24 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001172/3.095, allocations: 0.7245 MB / 1.442 GB, free: 63.13 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004869/3.095, allocations: 309.6 kB / 1.442 GB, free: 63.13 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.008966/3.104, allocations: 5.921 MB / 1.448 GB, free: 62.88 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.91e-07/3.104, allocations: 0 / 1.448 GB, free: 62.88 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01033/3.114, allocations: 2.635 MB / 1.45 GB, free: 62.66 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * 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 (721): * Single equations (assignments): 715 * 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: 6 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03118/3.146, allocations: 50.39 MB / 1.5 GB, free: 23.47 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0172/3.163, allocations: 10.18 MB / 1.51 GB, free: 22.45 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.681e-05/3.163, allocations: 14.19 kB / 1.51 GB, free: 22.45 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008742/3.172, allocations: 5.356 MB / 1.515 GB, free: 21.44 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01017/3.182, allocations: 1.358 MB / 1.516 GB, free: 21.39 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04764/3.23, allocations: 24.99 MB / 1.541 GB, free: 11.74 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007852/3.238, allocations: 7.951 MB / 1.548 GB, free: 9.008 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.009635/3.247, allocations: 3.584 MB / 1.552 GB, free: 8.746 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00717/3.254, allocations: 4.115 MB / 1.556 GB, free: 5.426 MB / 0.573 GB Notification: Performance of SimCode: time 1.603e-06/3.255, allocations: 0 / 1.556 GB, free: 5.426 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5882/3.843, allocations: 184 MB / 1.735 GB, free: 57.52 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/3.843, allocations: 193 kB / 1.736 GB, free: 57.29 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/10.8, allocations: 64 / 1.736 GB, free: 57.29 MB / 0.5886 GB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat does not exist to compare? outputFormat=mat