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.001253/0.001253, 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.001423/0.001423, allocations: 216.8 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.458/1.458, 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.2503/0.2503, allocations: 46.89 MB / 359.4 MB, free: 4.934 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.003192/0.003192, allocations: 75.88 kB / 0.4941 GB, free: 9.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3283, allocations: 65.99 MB / 0.5586 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02403/0.3523, allocations: 19.87 MB / 0.578 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.3643, allocations: 4.993 MB / 0.5829 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003616/0.3679, allocations: 163.5 kB / 0.583 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01867/0.3866, allocations: 7.835 MB / 0.5907 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007984/0.3946, allocations: 2.059 MB / 0.5927 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004675/0.3992, allocations: 1.405 MB / 0.594 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01736/0.4166, allocations: 12.18 MB / 0.6059 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02969/0.4463, allocations: 15.78 MB / 0.6213 GB, free: 4.512 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/0.4573, allocations: 6.538 MB / 0.6277 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01247/0.4697, allocations: 7.28 MB / 0.6348 GB, free: 6.652 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004987/0.4747, allocations: 1.719 MB / 0.6365 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00715/0.4819, allocations: 1.918 MB / 0.6384 GB, free: 3.016 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007079/0.489, allocations: 3.67 MB / 0.642 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01573/0.5047, allocations: 7.011 MB / 0.6488 GB, free: 8.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0311/0.5358, allocations: 23.66 MB / 0.6719 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5358, allocations: 4 kB / 0.6719 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5358, allocations: 0 / 0.6719 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0006221/0.5364, allocations: 0 / 0.6719 GB, free: 0.5547 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.04291/0.5793, allocations: 14.83 MB / 0.6864 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5794, allocations: 8.031 kB / 0.6864 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005373/0.5847, allocations: 1.726 MB / 0.6881 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06193/0.6467, allocations: 11.18 MB / 0.699 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01756/0.6642, allocations: 7.359 MB / 0.7062 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001145/0.6654, allocations: 0.8871 MB / 0.7071 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004715/0.6701, allocations: 1.168 MB / 0.7082 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05103/0.7211, allocations: 18.61 MB / 0.7264 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004783/0.7216, allocations: 23.84 kB / 0.7264 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00357/0.7252, allocations: 495.9 kB / 0.7269 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000755/0.7259, allocations: 0.6616 MB / 0.7275 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5526/1.279, allocations: 19.13 MB / 0.7462 GB, free: 132.7 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09307/1.372, allocations: 60.37 MB / 0.8052 GB, free: 83.14 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01714/1.389, allocations: 16.11 MB / 0.8209 GB, free: 66.21 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005674/1.394, allocations: 4.223 MB / 0.825 GB, free: 61.96 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004899/1.395, allocations: 390.3 kB / 0.8254 GB, free: 61.59 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.686e-05/1.395, allocations: 103.7 kB / 0.8255 GB, free: 61.48 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.244e-06/1.395, allocations: 0 / 0.8255 GB, free: 61.48 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01688/1.412, allocations: 12.46 MB / 0.8377 GB, free: 48.82 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/1.412, allocations: 116.5 kB / 0.8378 GB, free: 48.69 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/1.424, allocations: 8.611 MB / 0.8462 GB, free: 40.14 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001431/1.426, allocations: 133.7 kB / 0.8463 GB, free: 40 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00292/1.429, allocations: 4.615 MB / 0.8508 GB, free: 35.89 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002467/1.431, allocations: 2.299 MB / 0.8531 GB, free: 33.58 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002101/1.433, allocations: 1.466 MB / 0.8545 GB, free: 32.11 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.898e-05/1.433, allocations: 301.1 kB / 0.8548 GB, free: 31.81 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005203/1.438, allocations: 4.117 MB / 0.8588 GB, free: 27.69 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007007/1.446, allocations: 6.921 MB / 0.8656 GB, free: 19.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/1.459, allocations: 11.98 MB / 0.8773 GB, free: 6.168 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-05/1.459, allocations: 28 kB / 0.8773 GB, free: 6.141 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.022/1.481, allocations: 12.09 MB / 0.8891 GB, free: 9.938 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.988e-05/1.481, allocations: 44 kB / 0.8891 GB, free: 9.895 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001679/1.481, allocations: 92 kB / 0.8892 GB, free: 9.805 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/1.482, allocations: 413.2 kB / 0.8896 GB, free: 9.383 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008459/1.49, allocations: 2.02 MB / 0.8916 GB, free: 7.359 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008848/1.499, allocations: 9.593 MB / 0.901 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008155/1.507, allocations: 1.381 MB / 0.9023 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001741/1.509, allocations: 391.9 kB / 0.9027 GB, free: 11.15 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.01019/1.519, allocations: 4.582 MB / 0.9072 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001749/1.521, allocations: 0.7374 MB / 0.9079 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0207/1.542, allocations: 10.61 MB / 0.9182 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.961e-05/1.542, allocations: 68 kB / 0.9183 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-05/1.542, allocations: 3.938 kB / 0.9183 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001222/1.542, allocations: 35.88 kB / 0.9183 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4842/2.026, allocations: 161.4 MB / 1.076 GB, free: 166.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003301/2.027, allocations: 88 kB / 1.076 GB, free: 166.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006321/2.033, allocations: 1.556 MB / 1.078 GB, free: 164.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/2.034, allocations: 380.6 kB / 1.078 GB, free: 164.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001616/2.036, allocations: 255.9 kB / 1.078 GB, free: 164.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005108/2.041, allocations: 9.46 MB / 1.087 GB, free: 154 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.14e-05/2.041, allocations: 131.4 kB / 1.088 GB, free: 153.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02188/2.063, allocations: 18.64 MB / 1.106 GB, free: 133.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004284/2.067, allocations: 2.061 MB / 1.108 GB, free: 131.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002056/2.069, allocations: 253.8 kB / 1.108 GB, free: 131.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005618/2.075, allocations: 0.5463 MB / 1.109 GB, free: 131 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001381/2.076, allocations: 0.7419 MB / 1.109 GB, free: 130.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008425/2.077, allocations: 319.9 kB / 1.11 GB, free: 130 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.009087/2.086, allocations: 6.047 MB / 1.116 GB, free: 123.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.11e-07/2.086, allocations: 0 / 1.116 GB, free: 123.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009797/2.096, allocations: 2.64 MB / 1.118 GB, free: 121.5 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.02457/2.12, allocations: 19.54 MB / 1.137 GB, free: 99.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01669/2.137, allocations: 10.33 MB / 1.147 GB, free: 89.48 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.684e-05/2.137, allocations: 12 kB / 1.147 GB, free: 89.46 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00843/2.146, allocations: 5.29 MB / 1.152 GB, free: 84.11 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01408/2.16, allocations: 1.493 MB / 1.154 GB, free: 82.65 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5076/2.667, allocations: 99.31 MB / 1.251 GB, free: 216.7 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01434/2.682, allocations: 7.773 MB / 1.258 GB, free: 215.8 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.01078/2.692, allocations: 3.57 MB / 1.262 GB, free: 215.5 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00879/2.701, allocations: 4.201 MB / 1.266 GB, free: 215.5 MB / 0.6857 GB Notification: Performance of SimCode: time 3.226e-06/2.701, allocations: 0 / 1.266 GB, free: 215.5 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2778/2.979, allocations: 188.2 MB / 1.45 GB, free: 50.57 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.5/32.47, allocations: 15.42 kB / 1.45 GB, free: 50.56 MB / 0.6857 GB " [Timeout remaining time 627] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.41603319699061] 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.66280301200459 32.673281219 32.134606804 Calling exit ...