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) 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 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2298/0.2298, allocations: 46.13 MB / 344.4 MB, free: 11.44 MB / 286.1 MB 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: 75.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.36, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02327/0.3833, allocations: 19.76 MB / 0.5499 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.3974, allocations: 4.98 MB / 0.5548 GB, free: 8.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005514/0.403, allocations: 159.5 kB / 0.5549 GB, free: 8.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01808/0.4212, allocations: 7.76 MB / 0.5625 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008166/0.4293, allocations: 2.063 MB / 0.5645 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004822/0.4342, allocations: 1.396 MB / 0.5659 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01907/0.4533, allocations: 12.17 MB / 0.5778 GB, free: 1.281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03991/0.4932, allocations: 26.07 MB / 0.6032 GB, free: 7.008 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009668/0.5029, allocations: 6.503 MB / 0.6096 GB, free: 500 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01174/0.5147, allocations: 7.214 MB / 0.6166 GB, free: 9.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004593/0.5193, allocations: 1.719 MB / 0.6183 GB, free: 7.531 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005793/0.5251, allocations: 1.914 MB / 0.6202 GB, free: 5.617 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00529/0.5304, allocations: 3.651 MB / 0.6237 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01142/0.5419, allocations: 7.011 MB / 0.6306 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03052/0.5724, allocations: 23.67 MB / 0.6537 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.5724, allocations: 4 kB / 0.6537 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5725, allocations: 0 / 0.6537 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005766/0.573, allocations: 4 kB / 0.6537 GB, free: 3.164 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.04484/0.6179, allocations: 14.82 MB / 0.6682 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.618, allocations: 12.03 kB / 0.6682 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006212/0.6242, allocations: 1.718 MB / 0.6699 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06053/0.6847, allocations: 11.18 MB / 0.6808 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01877/0.7036, allocations: 7.371 MB / 0.688 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001549/0.7052, allocations: 0.8871 MB / 0.6888 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006293/0.7115, allocations: 1.172 MB / 0.69 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05814/0.7697, allocations: 18.61 MB / 0.7081 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000594/0.7703, allocations: 23.89 kB / 0.7082 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003995/0.7743, allocations: 496 kB / 0.7086 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008179/0.7751, allocations: 0.6539 MB / 0.7093 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5378/1.313, allocations: 19.14 MB / 0.728 GB, free: 144.2 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09432/1.407, allocations: 60.37 MB / 0.7869 GB, free: 97.51 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01698/1.424, allocations: 16.63 MB / 0.8032 GB, free: 80.06 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005713/1.43, allocations: 4.544 MB / 0.8076 GB, free: 75.49 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/1.431, allocations: 391.9 kB / 0.808 GB, free: 75.12 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.135e-05/1.431, allocations: 107.7 kB / 0.8081 GB, free: 75 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 7.865e-06/1.431, allocations: 0 / 0.8081 GB, free: 75 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01686/1.448, allocations: 12.45 MB / 0.8202 GB, free: 62.35 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/1.448, allocations: 124.5 kB / 0.8204 GB, free: 62.21 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/1.46, allocations: 8.615 MB / 0.8288 GB, free: 53.66 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001281/1.461, allocations: 137.6 kB / 0.8289 GB, free: 53.52 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003145/1.464, allocations: 4.608 MB / 0.8334 GB, free: 49.41 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002241/1.467, allocations: 2.297 MB / 0.8356 GB, free: 47.09 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002162/1.469, allocations: 1.466 MB / 0.8371 GB, free: 45.62 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.683e-05/1.469, allocations: 309.1 kB / 0.8374 GB, free: 45.31 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005049/1.474, allocations: 4.109 MB / 0.8414 GB, free: 41.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006754/1.481, allocations: 6.921 MB / 0.8481 GB, free: 33.01 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01318/1.494, allocations: 11.99 MB / 0.8599 GB, free: 19.67 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/1.494, allocations: 28 kB / 0.8599 GB, free: 19.64 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01957/1.514, allocations: 12.09 MB / 0.8717 GB, free: 7.441 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.69e-05/1.514, allocations: 44 kB / 0.8717 GB, free: 7.398 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/1.514, allocations: 96 kB / 0.8718 GB, free: 7.305 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000855/1.515, allocations: 412.8 kB / 0.8722 GB, free: 6.883 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007207/1.522, allocations: 2.016 MB / 0.8742 GB, free: 4.863 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00713/1.529, allocations: 9.598 MB / 0.8836 GB, free: 10.42 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008436/1.538, allocations: 1.381 MB / 0.8849 GB, free: 9.031 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00206/1.54, allocations: 383.9 kB / 0.8853 GB, free: 8.656 MB / 0.5763 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.01159/1.551, allocations: 4.582 MB / 0.8897 GB, free: 4.059 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002325/1.554, allocations: 0.7413 MB / 0.8905 GB, free: 3.312 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02153/1.575, allocations: 10.59 MB / 0.9008 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.719e-05/1.575, allocations: 68 kB / 0.9009 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/1.575, allocations: 7.938 kB / 0.9009 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.137e-05/1.575, allocations: 35.86 kB / 0.9009 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4528/2.028, allocations: 161.4 MB / 1.059 GB, free: 159.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001096/2.028, allocations: 84 kB / 1.059 GB, free: 159.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004921/2.033, allocations: 1.552 MB / 1.06 GB, free: 158.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007565/2.034, allocations: 384.6 kB / 1.061 GB, free: 157.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007825/2.035, allocations: 263.7 kB / 1.061 GB, free: 157.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004762/2.04, allocations: 9.457 MB / 1.07 GB, free: 147.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.244e-05/2.04, allocations: 135.4 kB / 1.07 GB, free: 147.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02051/2.06, allocations: 18.64 MB / 1.088 GB, free: 127 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005077/2.065, allocations: 2.06 MB / 1.09 GB, free: 125.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002051/2.067, allocations: 247.9 kB / 1.091 GB, free: 125 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005623/2.073, allocations: 0.5502 MB / 1.091 GB, free: 124.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001144/2.074, allocations: 0.7379 MB / 1.092 GB, free: 123.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004931/2.075, allocations: 323.9 kB / 1.092 GB, free: 123.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008047/2.083, allocations: 6.044 MB / 1.098 GB, free: 117.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.51e-07/2.083, allocations: 0 / 1.098 GB, free: 117.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009789/2.093, allocations: 2.648 MB / 1.101 GB, free: 114.9 MB / 0.6544 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.02007/2.113, allocations: 19.54 MB / 1.12 GB, free: 93.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01597/2.129, allocations: 10.64 MB / 1.13 GB, free: 82.56 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 0.0001369/2.129, allocations: 18 kB / 1.13 GB, free: 82.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008307/2.137, allocations: 5.461 MB / 1.135 GB, free: 77.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01058/2.148, allocations: 1.484 MB / 1.137 GB, free: 75.56 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4434/2.591, allocations: 99.17 MB / 1.234 GB, free: 214 MB / 0.6701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01146/2.603, allocations: 7.77 MB / 1.241 GB, free: 212.9 MB / 0.6701 GB Notification: Performance of simCode: alias equations: time 0.009187/2.612, allocations: 3.567 MB / 1.245 GB, free: 212.6 MB / 0.6701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007005/2.619, allocations: 4.206 MB / 1.249 GB, free: 210 MB / 0.6701 GB Notification: Performance of SimCode: time 5.11e-07/2.619, allocations: 2.25 kB / 1.249 GB, free: 210 MB / 0.6701 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2723/2.891, allocations: 187.3 MB / 1.432 GB, free: 38.82 MB / 0.6701 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.17/32.06, allocations: 8.547 kB / 1.432 GB, free: 38.81 MB / 0.6701 GB (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.0004 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)