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.001291/0.001291, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.001602/0.001602, allocations: 218.1 kB / 23 MB, free: 5.617 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.505/1.505, allocations: 230.2 MB / 256.2 MB, free: 8.73 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.2315/0.2315, allocations: 46.88 MB / 359.4 MB, free: 4.961 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.002294/0.002294, allocations: 91.77 kB / 0.4941 GB, free: 9.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3732, allocations: 65.97 MB / 0.5586 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02405/0.3972, allocations: 19.87 MB / 0.578 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.4104, allocations: 5.001 MB / 0.5828 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004726/0.4152, allocations: 163.4 kB / 0.583 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01849/0.4336, allocations: 7.827 MB / 0.5906 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008276/0.4419, allocations: 2.07 MB / 0.5927 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00453/0.4465, allocations: 1.402 MB / 0.594 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01637/0.4628, allocations: 12.17 MB / 0.6059 GB, free: 4.523 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02827/0.4911, allocations: 15.78 MB / 0.6213 GB, free: 4.539 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01194/0.503, allocations: 6.546 MB / 0.6277 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01309/0.5161, allocations: 7.272 MB / 0.6348 GB, free: 6.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00573/0.5218, allocations: 1.727 MB / 0.6365 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007702/0.5296, allocations: 1.918 MB / 0.6384 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006443/0.536, allocations: 3.663 MB / 0.642 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0123/0.5483, allocations: 7.011 MB / 0.6488 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03315/0.5814, allocations: 23.67 MB / 0.6719 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.5815, allocations: 4 kB / 0.6719 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5815, allocations: 0 / 0.6719 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007241/0.5822, allocations: 0 / 0.6719 GB, free: 0.5742 MB / 0.4981 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.04387/0.626, allocations: 14.82 MB / 0.6864 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6261, allocations: 8.031 kB / 0.6864 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005411/0.6315, allocations: 1.726 MB / 0.6881 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06137/0.6929, allocations: 11.18 MB / 0.699 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.016/0.7089, allocations: 7.363 MB / 0.7062 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001125/0.71, allocations: 0.8832 MB / 0.7071 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005308/0.7153, allocations: 1.18 MB / 0.7082 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04932/0.7646, allocations: 18.61 MB / 0.7264 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004675/0.7651, allocations: 15.91 kB / 0.7264 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003894/0.769, allocations: 500 kB / 0.7269 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007862/0.7698, allocations: 0.6577 MB / 0.7275 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5275/1.297, allocations: 19.14 MB / 0.7462 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09666/1.394, allocations: 60.37 MB / 0.8052 GB, free: 83.22 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01692/1.411, allocations: 16.12 MB / 0.8209 GB, free: 66.29 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00608/1.417, allocations: 4.22 MB / 0.825 GB, free: 62.04 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006271/1.418, allocations: 389 kB / 0.8254 GB, free: 61.68 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.284e-05/1.418, allocations: 107.6 kB / 0.8255 GB, free: 61.56 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.464e-06/1.418, allocations: 4 kB / 0.8255 GB, free: 61.55 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01891/1.437, allocations: 12.45 MB / 0.8377 GB, free: 48.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/1.437, allocations: 120.5 kB / 0.8378 GB, free: 48.77 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01251/1.449, allocations: 8.605 MB / 0.8462 GB, free: 40.22 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001347/1.45, allocations: 141.6 kB / 0.8463 GB, free: 40.07 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002987/1.453, allocations: 4.611 MB / 0.8508 GB, free: 35.96 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001948/1.455, allocations: 2.297 MB / 0.8531 GB, free: 33.65 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002034/1.457, allocations: 1.47 MB / 0.8545 GB, free: 32.17 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.159e-05/1.457, allocations: 301.1 kB / 0.8548 GB, free: 31.88 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005067/1.463, allocations: 4.117 MB / 0.8588 GB, free: 27.75 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006481/1.469, allocations: 6.925 MB / 0.8656 GB, free: 19.56 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/1.482, allocations: 11.97 MB / 0.8773 GB, free: 6.234 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.77e-05/1.482, allocations: 28 kB / 0.8773 GB, free: 6.207 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0226/1.504, allocations: 12.1 MB / 0.8891 GB, free: 9.992 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-05/1.504, allocations: 44 kB / 0.8892 GB, free: 9.949 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/1.505, allocations: 92 kB / 0.8892 GB, free: 9.859 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/1.506, allocations: 404.9 kB / 0.8896 GB, free: 9.445 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008287/1.514, allocations: 2.024 MB / 0.8916 GB, free: 7.418 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009247/1.523, allocations: 9.585 MB / 0.901 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00753/1.531, allocations: 1.389 MB / 0.9023 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/1.532, allocations: 387.9 kB / 0.9027 GB, free: 11.21 MB / 0.5919 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.009768/1.542, allocations: 4.582 MB / 0.9072 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001754/1.544, allocations: 0.7413 MB / 0.9079 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02129/1.565, allocations: 10.6 MB / 0.9182 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-05/1.565, allocations: 68 kB / 0.9183 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.743e-05/1.565, allocations: 7.938 kB / 0.9183 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001191/1.565, allocations: 35.86 kB / 0.9183 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4784/2.044, allocations: 161.4 MB / 1.076 GB, free: 166.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000434/2.044, allocations: 91.98 kB / 1.076 GB, free: 166.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006147/2.05, allocations: 1.548 MB / 1.078 GB, free: 165.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009201/2.051, allocations: 388.7 kB / 1.078 GB, free: 164.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001225/2.052, allocations: 255.8 kB / 1.078 GB, free: 164.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005037/2.057, allocations: 9.455 MB / 1.087 GB, free: 154.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.323e-05/2.057, allocations: 131.4 kB / 1.088 GB, free: 154.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02027/2.078, allocations: 18.64 MB / 1.106 GB, free: 133.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005133/2.083, allocations: 2.065 MB / 1.108 GB, free: 132 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001977/2.085, allocations: 241.9 kB / 1.108 GB, free: 131.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005849/2.091, allocations: 0.5502 MB / 1.109 GB, free: 131.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001353/2.092, allocations: 0.7457 MB / 1.109 GB, free: 130.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005856/2.093, allocations: 315.9 kB / 1.11 GB, free: 130.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008779/2.101, allocations: 6.051 MB / 1.116 GB, free: 124.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/2.101, allocations: 0 / 1.116 GB, free: 124.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0106/2.112, allocations: 2.636 MB / 1.118 GB, free: 121.7 MB / 0.67 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.02343/2.135, allocations: 19.54 MB / 1.137 GB, free: 100.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01711/2.153, allocations: 10.33 MB / 1.147 GB, free: 89.72 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001336/2.153, allocations: 15.94 kB / 1.147 GB, free: 89.71 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.009671/2.162, allocations: 5.287 MB / 1.152 GB, free: 84.36 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01322/2.176, allocations: 1.496 MB / 1.154 GB, free: 82.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4614/2.637, allocations: 99.31 MB / 1.251 GB, free: 216.6 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01432/2.651, allocations: 7.778 MB / 1.258 GB, free: 215.6 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.009987/2.661, allocations: 3.564 MB / 1.262 GB, free: 215.4 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00882/2.67, allocations: 4.201 MB / 1.266 GB, free: 215.4 MB / 0.6857 GB Notification: Performance of SimCode: time 2.645e-06/2.67, allocations: 0 / 1.266 GB, free: 215.4 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2668/2.937, allocations: 188.3 MB / 1.45 GB, free: 50.39 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.25/32.19, allocations: 0 / 1.45 GB, free: 50.39 MB / 0.6857 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 --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.714453530003084] 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.37851755999145 32.398026987 31.812309284 Calling exit ...