Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001778/0.001778, allocations: 112.4 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00227/0.00227, allocations: 204.9 kB / 21.46 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2619/0.2619, allocations: 46.88 MB / 357.4 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 83.86 kB / 0.4912 GB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1612, allocations: 65.97 MB / 0.5556 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02305/0.1842, allocations: 19.84 MB / 0.575 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.1962, allocations: 4.986 MB / 0.5799 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004958/0.2012, allocations: 159.5 kB / 0.58 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01863/0.2198, allocations: 7.843 MB / 0.5877 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009091/0.2289, allocations: 2.07 MB / 0.5897 GB, free: 3.422 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005251/0.2342, allocations: 1.399 MB / 0.5911 GB, free: 2.023 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3701/0.6043, allocations: 12.17 MB / 0.603 GB, free: 4.129 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.046/0.6503, allocations: 20.26 MB / 0.6228 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01683/0.6671, allocations: 6.522 MB / 0.6291 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01552/0.6826, allocations: 7.281 MB / 0.6362 GB, free: 5.895 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006247/0.6889, allocations: 1.723 MB / 0.6379 GB, free: 4.172 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/0.6992, allocations: 1.923 MB / 0.6398 GB, free: 2.305 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01343/0.7126, allocations: 3.907 MB / 0.6436 GB, free: 0 / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01998/0.7326, allocations: 7.055 MB / 0.6505 GB, free: 9.539 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03721/0.7698, allocations: 23.67 MB / 0.6736 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.625e-05/0.7698, allocations: 3.984 kB / 0.6736 GB, free: 3.203 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.7698, allocations: 4 kB / 0.6736 GB, free: 3.199 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008407/0.7707, allocations: 0 / 0.6736 GB, free: 3.199 MB / 494.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.05095/0.8216, allocations: 14.83 MB / 0.6881 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.272e-05/0.8217, allocations: 8.031 kB / 0.6881 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009141/0.8308, allocations: 1.727 MB / 0.6898 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07525/0.9061, allocations: 11.17 MB / 0.7007 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02221/0.9283, allocations: 7.368 MB / 0.7079 GB, free: 496 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001128/0.9294, allocations: 0.8872 MB / 0.7088 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004782/0.9342, allocations: 1.174 MB / 0.7099 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04998/0.9842, allocations: 18.61 MB / 0.7281 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005358/0.9847, allocations: 19.89 kB / 0.7281 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004064/0.9888, allocations: 498.1 kB / 0.7286 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007944/0.9896, allocations: 0.6499 MB / 0.7292 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04348/1.033, allocations: 19.14 MB / 0.7479 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1315/1.165, allocations: 60.37 MB / 0.8069 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02366/1.188, allocations: 16.11 MB / 0.8226 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008161/1.196, allocations: 4.22 MB / 0.8267 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008124/1.197, allocations: 384.7 kB / 0.8271 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/1.197, allocations: 103.7 kB / 0.8272 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=653): time 1.248e-05/1.197, allocations: 4 kB / 0.8272 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of matching and sorting (n=653): time 0.6617/1.859, allocations: 12.45 MB / 0.8394 GB, free: 162.4 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/1.859, allocations: 121.8 kB / 0.8395 GB, free: 162.3 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01984/1.879, allocations: 8.61 MB / 0.8479 GB, free: 161.9 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001128/1.88, allocations: 131.2 kB / 0.848 GB, free: 161.9 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.004216/1.884, allocations: 4.612 MB / 0.8525 GB, free: 160.7 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002469/1.887, allocations: 2.297 MB / 0.8548 GB, free: 159.5 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002559/1.889, allocations: 1.469 MB / 0.8562 GB, free: 159.4 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/1.889, allocations: 304.4 kB / 0.8565 GB, free: 159.1 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006632/1.896, allocations: 4.115 MB / 0.8605 GB, free: 158 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009467/1.905, allocations: 6.924 MB / 0.8673 GB, free: 153.1 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02025/1.926, allocations: 11.97 MB / 0.879 GB, free: 146.2 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001723/1.926, allocations: 26.03 kB / 0.879 GB, free: 146.2 MB / 0.6388 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02275/1.949, allocations: 12.1 MB / 0.8908 GB, free: 142.3 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-05/1.949, allocations: 45.34 kB / 0.8908 GB, free: 142.3 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001833/1.949, allocations: 92.91 kB / 0.8909 GB, free: 142.2 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009142/1.95, allocations: 411.5 kB / 0.8913 GB, free: 142.1 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007281/1.957, allocations: 2.02 MB / 0.8933 GB, free: 142.1 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006127/1.963, allocations: 9.599 MB / 0.9027 GB, free: 133.3 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008069/1.971, allocations: 1.382 MB / 0.904 GB, free: 132.8 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001892/1.973, allocations: 389.1 kB / 0.9044 GB, free: 132.8 MB / 0.6388 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01298/1.986, allocations: 4.573 MB / 0.9089 GB, free: 130.8 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003784/1.99, allocations: 0.7521 MB / 0.9096 GB, free: 130.4 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02176/2.012, allocations: 10.6 MB / 0.9199 GB, free: 122.8 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.056e-05/2.012, allocations: 64 kB / 0.92 GB, free: 122.7 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.523e-05/2.012, allocations: 7.375 kB / 0.92 GB, free: 122.7 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001455/2.012, allocations: 35.25 kB / 0.92 GB, free: 122.7 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1752/2.187, allocations: 161.4 MB / 1.078 GB, free: 7.25 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004477/2.188, allocations: 88.19 kB / 1.078 GB, free: 7.164 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006991/2.195, allocations: 1.562 MB / 1.079 GB, free: 5.703 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/2.196, allocations: 382.6 kB / 1.08 GB, free: 5.312 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001352/2.197, allocations: 259.9 kB / 1.08 GB, free: 5.059 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009302/2.206, allocations: 9.457 MB / 1.089 GB, free: 10.84 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001036/2.206, allocations: 137.8 kB / 1.089 GB, free: 10.75 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3472/2.554, allocations: 18.63 MB / 1.107 GB, free: 236 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007914/2.562, allocations: 2.067 MB / 1.109 GB, free: 235.8 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00294/2.565, allocations: 245.2 kB / 1.11 GB, free: 235.8 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00664/2.571, allocations: 0.5468 MB / 1.11 GB, free: 235.8 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002178/2.573, allocations: 0.7439 MB / 1.111 GB, free: 235.8 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009525/2.574, allocations: 318.1 kB / 1.111 GB, free: 235.8 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0135/2.588, allocations: 6.049 MB / 1.117 GB, free: 234 MB / 0.7013 GB Notification: Performance of sort global known variables: time 1.81e-07/2.588, allocations: 2.5 kB / 1.117 GB, free: 234 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.0132/2.601, allocations: 2.644 MB / 1.12 GB, free: 233.5 MB / 0.7013 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02584/2.627, allocations: 19.55 MB / 1.139 GB, free: 221.6 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.01525/2.642, allocations: 10.33 MB / 1.149 GB, free: 217.8 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 0.0001036/2.642, allocations: 11.56 kB / 1.149 GB, free: 217.8 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.008126/2.65, allocations: 5.284 MB / 1.154 GB, free: 215.6 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01465/2.665, allocations: 1.49 MB / 1.156 GB, free: 215 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1727/2.838, allocations: 99.15 MB / 1.252 GB, free: 123.4 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01488/2.853, allocations: 7.789 MB / 1.26 GB, free: 115.6 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.01081/2.863, allocations: 3.562 MB / 1.263 GB, free: 112 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007841/2.871, allocations: 4.205 MB / 1.268 GB, free: 107.8 MB / 0.7013 GB Notification: Performance of SimCode: time 1.653e-06/2.871, allocations: 0 / 1.268 GB, free: 107.8 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5752/3.446, allocations: 191.7 MB / 1.455 GB, free: 181.6 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.64/32.08, allocations: 10.88 kB / 1.455 GB, free: 181.6 MB / 0.7013 GB " [Timeout remaining time 628] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 35.94310988485813] Failed to read output from testmodel.py, exit status != 0: ['time', 'v[1].re', 'v[1].im', 'v[2].re', 'v[2].im', 'v[3].re', 'v[3].im'] 32.268326554913074 32.277492771 31.505104294 Calling exit ...