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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 97.59 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 202.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2162/0.2162, allocations: 45.91 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002567, allocations: 4 kB / 418.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1318, allocations: 63.45 MB / 481.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01579/0.1477, allocations: 15.84 MB / 497.4 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.16, allocations: 4.754 MB / 0.4903 GB, free: 0.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003607/0.1637, allocations: 139.5 kB / 0.4905 GB, free: 500 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003526/0.1672, allocations: 0.948 MB / 0.4914 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007861/0.1751, allocations: 1.693 MB / 0.4931 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004745/0.1799, allocations: 1.066 MB / 0.4941 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01655/0.1965, allocations: 7.766 MB / 0.5017 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.392/0.5886, allocations: 21.09 MB / 0.5223 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/0.5989, allocations: 4.101 MB / 0.5263 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01135/0.6103, allocations: 4.648 MB / 0.5308 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004383/0.6148, allocations: 0.6804 MB / 0.5315 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00675/0.6215, allocations: 0.8316 MB / 0.5323 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005746/0.6273, allocations: 2.206 MB / 0.5344 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006981/0.6343, allocations: 2.325 MB / 0.5367 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02356/0.6579, allocations: 19.79 MB / 0.556 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.658, allocations: 3.938 kB / 0.5561 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.658, allocations: 0 / 0.5561 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0009982/0.659, allocations: 0 / 0.5561 GB, free: 10.85 MB / 398.1 MB 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.03959/0.6986, allocations: 11.97 MB / 0.5677 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.6987, allocations: 8.031 kB / 0.5677 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007923/0.7066, allocations: 1.722 MB / 0.5694 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05927/0.7659, allocations: 11.48 MB / 0.5806 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01882/0.7848, allocations: 7.184 MB / 0.5877 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001132/0.786, allocations: 0.8883 MB / 0.5885 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006175/0.7921, allocations: 1.168 MB / 0.5897 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05257/0.8447, allocations: 18.35 MB / 0.6076 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006813/0.8455, allocations: 19.8 kB / 0.6076 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005511/0.851, allocations: 0.4908 MB / 0.6081 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008124/0.8518, allocations: 0.6539 MB / 0.6087 GB, free: 5.129 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04786/0.8997, allocations: 18.96 MB / 0.6272 GB, free: 2.145 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1258/1.026, allocations: 60.82 MB / 0.6866 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02331/1.049, allocations: 16.53 MB / 0.7028 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008688/1.05, allocations: 322.6 kB / 0.7031 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.498e-05/1.05, allocations: 107.9 kB / 0.7032 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 8.065e-06/1.05, allocations: 0 / 0.7032 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.603/1.653, allocations: 12.19 MB / 0.7151 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.653, allocations: 118.6 kB / 0.7152 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0182/1.671, allocations: 8.485 MB / 0.7235 GB, free: 132 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001376/1.673, allocations: 136.2 kB / 0.7236 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004325/1.677, allocations: 4.488 MB / 0.728 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003163/1.68, allocations: 2.192 MB / 0.7302 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007067/1.681, allocations: 155.3 kB / 0.7303 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004612/1.681, allocations: 0.6174 MB / 0.7309 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006228/1.688, allocations: 4.062 MB / 0.7349 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009411/1.697, allocations: 6.871 MB / 0.7416 GB, free: 125 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01373/1.711, allocations: 5.56 MB / 0.747 GB, free: 124 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000211/1.711, allocations: 23.53 kB / 0.747 GB, free: 124 MB / 0.5294 GB Notification: Performance of matching and sorting (n=983) (initialization): time 0.02536/1.736, allocations: 11.93 MB / 0.7587 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002188/1.737, allocations: 47.62 kB / 0.7587 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002422/1.737, allocations: 90.16 kB / 0.7588 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/1.738, allocations: 395.7 kB / 0.7592 GB, free: 120 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007929/1.746, allocations: 2.011 MB / 0.7612 GB, free: 119.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00537/1.751, allocations: 8.784 MB / 0.7697 GB, free: 111.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009873/1.761, allocations: 1.353 MB / 0.7711 GB, free: 110.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002564/1.764, allocations: 371.5 kB / 0.7714 GB, free: 110 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 420 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (977): * Single equations (assignments): 971 * 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.01359/1.777, allocations: 4.586 MB / 0.7759 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002965/1.78, allocations: 0.6965 MB / 0.7766 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02775/1.808, allocations: 10.55 MB / 0.7869 GB, free: 96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.262e-05/1.808, allocations: 67.98 kB / 0.7869 GB, free: 95.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.058e-05/1.808, allocations: 4 kB / 0.7869 GB, free: 95.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001451/1.809, allocations: 31.88 kB / 0.787 GB, free: 95.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5902/2.399, allocations: 160.7 MB / 0.9439 GB, free: 179.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003313/2.399, allocations: 85.25 kB / 0.944 GB, free: 179.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006353/2.405, allocations: 1.537 MB / 0.9455 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008034/2.406, allocations: 367.4 kB / 0.9458 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00115/2.407, allocations: 246.9 kB / 0.9461 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004916/2.412, allocations: 8.683 MB / 0.9545 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.386e-05/2.413, allocations: 136.4 kB / 0.9547 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02561/2.438, allocations: 33.63 MB / 0.9875 GB, free: 143.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006207/2.444, allocations: 2.006 MB / 0.9895 GB, free: 143.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00207/2.446, allocations: 243.2 kB / 0.9897 GB, free: 143 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005842/2.452, allocations: 0.5564 MB / 0.9902 GB, free: 142.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/2.454, allocations: 0.719 MB / 0.9909 GB, free: 142.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007275/2.454, allocations: 310.7 kB / 0.9912 GB, free: 142.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01008/2.464, allocations: 5.944 MB / 0.997 GB, free: 140.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.804e-06/2.464, allocations: 0 / 0.997 GB, free: 140.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01184/2.476, allocations: 2.62 MB / 0.9996 GB, free: 139.9 MB / 0.5763 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 () * Number of clocked 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.02792/2.504, allocations: 50.5 MB / 1.049 GB, free: 91.07 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01786/2.522, allocations: 10.27 MB / 1.059 GB, free: 82.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 0.0001181/2.522, allocations: 12 kB / 1.059 GB, free: 82.29 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.009356/2.532, allocations: 5.394 MB / 1.064 GB, free: 77.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009146/2.541, allocations: 1.361 MB / 1.066 GB, free: 76.29 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4829/3.024, allocations: 148.4 MB / 1.21 GB, free: 132.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01887/3.043, allocations: 7.948 MB / 1.218 GB, free: 129.9 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01445/3.057, allocations: 3.58 MB / 1.222 GB, free: 129.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0108/3.068, allocations: 4.093 MB / 1.226 GB, free: 126.5 MB / 0.5763 GB Notification: Performance of SimCode: time 1.223e-06/3.068, allocations: 0 / 1.226 GB, free: 126.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5173/3.585, allocations: 183.6 MB / 1.405 GB, free: 158 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003937/3.586, allocations: 228.7 kB / 1.405 GB, free: 157.7 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.079/10.66, allocations: 5.469 kB / 1.405 GB, free: 157.7 MB / 0.5763 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