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.001253/0.001253, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001297, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2363/0.2363, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.003728/0.003728, allocations: 84.5 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1437, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02227/0.166, allocations: 19.75 MB / 500 MB, free: 1.277 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.1773, allocations: 4.974 MB / 0.4931 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003343/0.1807, allocations: 159.5 kB / 0.4933 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01758/0.1983, allocations: 7.763 MB / 0.5008 GB, free: 4.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007269/0.2056, allocations: 2.059 MB / 0.5029 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004134/0.2097, allocations: 1.39 MB / 0.5042 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2202/0.43, allocations: 12.07 MB / 0.516 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03568/0.4657, allocations: 26.19 MB / 0.5416 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01338/0.4791, allocations: 6.484 MB / 0.5479 GB, free: 8.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01243/0.4916, allocations: 7.224 MB / 0.555 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004713/0.4963, allocations: 1.723 MB / 0.5566 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/0.5076, allocations: 2.383 MB / 0.559 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005991/0.5137, allocations: 3.654 MB / 0.5625 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01344/0.5271, allocations: 7.006 MB / 0.5694 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02869/0.5559, allocations: 23.47 MB / 0.5923 GB, free: 14.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.5559, allocations: 7.938 kB / 0.5923 GB, free: 14.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.556, allocations: 0 / 0.5923 GB, free: 14.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007593/0.5567, allocations: 0 / 0.5923 GB, free: 14.32 MB / 446.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.04209/0.5988, allocations: 14.56 MB / 0.6065 GB, free: 15.78 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.5989, allocations: 19.52 kB / 0.6065 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005457/0.6044, allocations: 1.719 MB / 0.6082 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06223/0.6666, allocations: 11.12 MB / 0.6191 GB, free: 3.027 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01692/0.6836, allocations: 7.109 MB / 0.626 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/0.6847, allocations: 0.8851 MB / 0.6269 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005301/0.69, allocations: 1.167 MB / 0.628 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04932/0.7394, allocations: 18.61 MB / 0.6462 GB, free: 7.523 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005397/0.7399, allocations: 19.89 kB / 0.6462 GB, free: 7.504 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00389/0.7438, allocations: 0.4929 MB / 0.6467 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007635/0.7446, allocations: 0.6499 MB / 0.6473 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04282/0.7875, allocations: 19.14 MB / 0.666 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5249/1.312, allocations: 60.87 MB / 0.7255 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0191/1.332, allocations: 16.64 MB / 0.7417 GB, free: 94.13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006847/1.338, allocations: 4.533 MB / 0.7461 GB, free: 94.06 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007873/1.339, allocations: 393.9 kB / 0.7465 GB, free: 93.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.181e-05/1.339, allocations: 102.8 kB / 0.7466 GB, free: 93.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 8.336e-06/1.339, allocations: 0.7812 kB / 0.7466 GB, free: 93.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.02131/1.361, allocations: 12.43 MB / 0.7587 GB, free: 90.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/1.361, allocations: 120.4 kB / 0.7589 GB, free: 90.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01289/1.374, allocations: 8.607 MB / 0.7673 GB, free: 87.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001113/1.375, allocations: 128.3 kB / 0.7674 GB, free: 87.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003457/1.378, allocations: 4.489 MB / 0.7718 GB, free: 83.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002277/1.381, allocations: 2.188 MB / 0.7739 GB, free: 82.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002152/1.383, allocations: 1.464 MB / 0.7753 GB, free: 81.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.236e-05/1.383, allocations: 305.1 kB / 0.7756 GB, free: 81.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005548/1.388, allocations: 4.122 MB / 0.7797 GB, free: 79.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008213/1.397, allocations: 6.919 MB / 0.7864 GB, free: 74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01441/1.411, allocations: 11.98 MB / 0.7981 GB, free: 64.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001568/1.411, allocations: 28 kB / 0.7981 GB, free: 64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01851/1.43, allocations: 12.06 MB / 0.8099 GB, free: 52.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.447e-05/1.43, allocations: 46.66 kB / 0.81 GB, free: 52.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/1.43, allocations: 93.48 kB / 0.81 GB, free: 52.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008123/1.431, allocations: 412.4 kB / 0.8104 GB, free: 51.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006962/1.438, allocations: 2.014 MB / 0.8124 GB, free: 49.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004946/1.443, allocations: 9.593 MB / 0.8218 GB, free: 39.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007074/1.45, allocations: 1.346 MB / 0.8231 GB, free: 38.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/1.452, allocations: 383.9 kB / 0.8235 GB, free: 37.84 MB / 0.5294 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.006924/1.458, allocations: 4.583 MB / 0.8279 GB, free: 33.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/1.46, allocations: 0.6982 MB / 0.8286 GB, free: 32.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01587/1.476, allocations: 10.61 MB / 0.839 GB, free: 21.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.066e-05/1.476, allocations: 71.94 kB / 0.839 GB, free: 21.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.476, allocations: 0.9375 kB / 0.839 GB, free: 21.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-05/1.476, allocations: 39.88 kB / 0.8391 GB, free: 21.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.405/1.881, allocations: 161.5 MB / 0.9968 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001458/1.881, allocations: 87.98 kB / 0.9969 GB, free: 166.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005287/1.886, allocations: 1.557 MB / 0.9984 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008266/1.887, allocations: 392.6 kB / 0.9988 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008515/1.888, allocations: 255.9 kB / 0.999 GB, free: 164.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004782/1.893, allocations: 9.454 MB / 1.008 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.222e-05/1.893, allocations: 135.2 kB / 1.008 GB, free: 153.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02095/1.914, allocations: 18.6 MB / 1.027 GB, free: 133.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004131/1.918, allocations: 2.027 MB / 1.029 GB, free: 131.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001558/1.92, allocations: 243.9 kB / 1.029 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004993/1.925, allocations: 0.5424 MB / 1.029 GB, free: 130.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009693/1.926, allocations: 0.7457 MB / 1.03 GB, free: 130 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004482/1.926, allocations: 319.9 kB / 1.03 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007681/1.934, allocations: 6.051 MB / 1.036 GB, free: 123.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.5e-07/1.934, allocations: 0 / 1.036 GB, free: 123.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008993/1.943, allocations: 2.618 MB / 1.039 GB, free: 121 MB / 0.5919 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.0193/1.962, allocations: 19.51 MB / 1.058 GB, free: 99.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0271/1.989, allocations: 16.75 MB / 1.074 GB, free: 82.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-05/1.989, allocations: 20.12 kB / 1.074 GB, free: 82.63 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007473/1.997, allocations: 5.468 MB / 1.08 GB, free: 77.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01083/2.008, allocations: 1.498 MB / 1.081 GB, free: 75.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3778/2.386, allocations: 143.5 MB / 1.221 GB, free: 143.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009813/2.395, allocations: 7.765 MB / 1.229 GB, free: 141 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009628/2.405, allocations: 3.568 MB / 1.232 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0066/2.412, allocations: 4.204 MB / 1.236 GB, free: 137.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.022e-06/2.412, allocations: 0 / 1.236 GB, free: 137.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5434/2.955, allocations: 191.5 MB / 1.423 GB, free: 188.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/17.06, allocations: 9.781 kB / 1.423 GB, free: 188.7 MB / 0.5919 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)