Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.001609/0.001609, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001695/0.001695, allocations: 206.6 kB / 21.45 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.452/1.452, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2422/0.2422, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.Ideal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",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.002297/0.002297, allocations: 83.84 kB / 0.4917 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1321, allocations: 66.04 MB / 0.5562 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02633/0.1584, allocations: 22.83 MB / 0.5785 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.1722, allocations: 5.529 MB / 0.5839 GB, free: 9.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004816/0.1771, allocations: 234.8 kB / 0.5841 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2933/0.4704, allocations: 9.555 MB / 0.5934 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00947/0.4799, allocations: 2.166 MB / 0.5955 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00632/0.4862, allocations: 1.908 MB / 0.5974 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01936/0.5055, allocations: 14.47 MB / 0.6115 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04623/0.5518, allocations: 26.22 MB / 0.6371 GB, free: 5.605 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02051/0.5723, allocations: 8.679 MB / 0.6456 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01582/0.5881, allocations: 8.79 MB / 0.6542 GB, free: 7.336 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006222/0.5943, allocations: 2.102 MB / 0.6562 GB, free: 5.234 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008376/0.6027, allocations: 2.354 MB / 0.6585 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007273/0.61, allocations: 4.341 MB / 0.6628 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01769/0.6277, allocations: 8.42 MB / 0.671 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03714/0.6648, allocations: 28.77 MB / 0.6991 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6648, allocations: 0 / 0.6991 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6648, allocations: 4 kB / 0.6991 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0007464/0.6656, allocations: 0 / 0.6991 GB, free: 10.07 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.05938/0.725, allocations: 19 MB / 0.7177 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.725, allocations: 8.031 kB / 0.7177 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007674/0.7327, allocations: 2.017 MB / 0.7196 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06331/0.796, allocations: 11.49 MB / 0.7308 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02039/0.8164, allocations: 8.894 MB / 0.7395 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001334/0.8177, allocations: 1.058 MB / 0.7406 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005836/0.8235, allocations: 1.378 MB / 0.7419 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06424/0.8878, allocations: 23.63 MB / 0.765 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006084/0.8884, allocations: 23.89 kB / 0.765 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005094/0.8935, allocations: 0.5706 MB / 0.7656 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009669/0.8945, allocations: 0.6978 MB / 0.7662 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05084/0.9453, allocations: 21.74 MB / 0.7875 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6731/1.618, allocations: 72.02 MB / 0.8578 GB, free: 158.6 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02258/1.641, allocations: 28.09 MB / 0.8852 GB, free: 137.4 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007372/1.648, allocations: 4.506 MB / 0.8896 GB, free: 137.3 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02689/1.675, allocations: 16.55 MB / 0.9058 GB, free: 130.4 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/1.675, allocations: 85.08 kB / 0.9059 GB, free: 130.3 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 6.221e-06/1.675, allocations: 0 / 0.9059 GB, free: 130.3 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.03286/1.708, allocations: 15.69 MB / 0.9212 GB, free: 123.4 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/1.708, allocations: 122.4 kB / 0.9213 GB, free: 123.3 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007429/1.716, allocations: 5.123 MB / 0.9263 GB, free: 120.7 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.000803/1.716, allocations: 96.64 kB / 0.9264 GB, free: 120.6 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003661/1.72, allocations: 6.1 MB / 0.9324 GB, free: 116.3 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001906/1.722, allocations: 1.663 MB / 0.934 GB, free: 115 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004098/1.726, allocations: 1.561 MB / 0.9355 GB, free: 114.1 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.508e-05/1.726, allocations: 305.1 kB / 0.9358 GB, free: 113.8 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005949/1.732, allocations: 4.146 MB / 0.9399 GB, free: 111.7 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008208/1.74, allocations: 7.271 MB / 0.947 GB, free: 105.3 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01425/1.755, allocations: 11.95 MB / 0.9586 GB, free: 95.19 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/1.755, allocations: 28 kB / 0.9587 GB, free: 95.16 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02282/1.778, allocations: 13.09 MB / 0.9714 GB, free: 82.05 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/1.778, allocations: 48 kB / 0.9715 GB, free: 82 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001246/1.778, allocations: 104 kB / 0.9716 GB, free: 81.9 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00557/1.783, allocations: 3.094 MB / 0.9746 GB, free: 78.79 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005808/1.789, allocations: 1.607 MB / 0.9762 GB, free: 77.18 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007828/1.79, allocations: 331 kB / 0.9765 GB, free: 76.85 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00617/1.796, allocations: 1.075 MB / 0.9775 GB, free: 75.77 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/1.798, allocations: 388 kB / 0.9779 GB, free: 75.39 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.01/1.808, allocations: 5.39 MB / 0.9832 GB, free: 69.98 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00149/1.809, allocations: 0.5161 MB / 0.9837 GB, free: 69.46 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/1.824, allocations: 9.557 MB / 0.993 GB, free: 59.87 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/1.824, allocations: 48 kB / 0.9931 GB, free: 59.82 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.824, allocations: 0 / 0.9931 GB, free: 59.82 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.745e-05/1.824, allocations: 27.84 kB / 0.9931 GB, free: 59.8 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03465/1.859, allocations: 20.73 MB / 1.013 GB, free: 39.09 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.318e-05/1.859, allocations: 3.938 kB / 1.013 GB, free: 39.08 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003184/1.862, allocations: 0.7449 MB / 1.014 GB, free: 38.34 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005534/1.867, allocations: 2.957 MB / 1.017 GB, free: 35.37 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007729/1.868, allocations: 108 kB / 1.017 GB, free: 35.27 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005712/1.869, allocations: 146.4 kB / 1.017 GB, free: 35.11 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.869, allocations: 7.984 kB / 1.017 GB, free: 35.11 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/1.885, allocations: 14.18 MB / 1.031 GB, free: 20.88 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002423/1.887, allocations: 1.391 MB / 1.032 GB, free: 19.47 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008724/1.888, allocations: 88 kB / 1.032 GB, free: 19.38 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/1.891, allocations: 355.5 kB / 1.033 GB, free: 19.04 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006098/1.891, allocations: 327.3 kB / 1.033 GB, free: 18.71 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002708/1.891, allocations: 140 kB / 1.033 GB, free: 18.58 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.003822/1.895, allocations: 3.423 MB / 1.037 GB, free: 15.16 MB / 0.6388 GB Notification: Performance of sort global known variables: time 8e-08/1.895, allocations: 0 / 1.037 GB, free: 15.16 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.006875/1.902, allocations: 3.234 MB / 1.04 GB, free: 11.91 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01803/1.92, allocations: 14.9 MB / 1.054 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01874/1.939, allocations: 9.528 MB / 1.064 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.939, allocations: 4 kB / 1.064 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00905/1.948, allocations: 4.111 MB / 1.068 GB, free: 15.31 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006059/1.954, allocations: 1.278 MB / 1.069 GB, free: 14.07 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3713/2.325, allocations: 77.67 MB / 1.145 GB, free: 208.6 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009279/2.335, allocations: 9.008 MB / 1.154 GB, free: 203.3 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.005507/2.34, allocations: 2.87 MB / 1.156 GB, free: 202.1 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005529/2.346, allocations: 4.696 MB / 1.161 GB, free: 197.7 MB / 0.6857 GB Notification: Performance of SimCode: time 1.603e-06/2.346, allocations: 3.625 kB / 1.161 GB, free: 197.7 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3091/2.655, allocations: 180.4 MB / 1.337 GB, free: 19.27 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.42/27.08, allocations: 3.859 kB / 1.337 GB, free: 19.26 MB / 0.6857 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.37862874707207] Failed to read output from testmodel.py, exit status != 0: ['time', 'I[1].re', 'I[1].im', 'I[2].re', 'I[2].im', 'I[3].re', 'I[3].im'] 27.26470322906971 27.274606078 26.607291253 Calling exit ...