Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009457/0.0009457, allocations: 104.3 kB / 16.45 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 193.5 kB / 17.39 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 222.9 MB / 241.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04178/0.04178, allocations: 8.105 MB / 299.4 MB, free: 6.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 63.91 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07503/0.07616, allocations: 51.51 MB / 465.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002478/0.07868, allocations: 1.283 MB / 466.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.07995, allocations: 1.247 MB / 468 MB, free: 140 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.08001, allocations: 4 kB / 468 MB, free: 136 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.08031, allocations: 103.5 kB / 468.1 MB, free: 32 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.08049, allocations: 51.62 kB / 468.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.08161, allocations: 0.7466 MB / 468.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.08181, allocations: 131.4 kB / 469 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.08194, allocations: 65.45 kB / 469.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.241e-05/0.082, allocations: 51.8 kB / 469.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.192e-05/0.0821, allocations: 71.69 kB / 469.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.08213, allocations: 12 kB / 469.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.08235, allocations: 143.9 kB / 469.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.08239, allocations: 27.92 kB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.08247, allocations: 79.59 kB / 469.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.08279, allocations: 255.3 kB / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.0828, allocations: 0 / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.0828, allocations: 0 / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.08281, allocations: 0 / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001078/0.0839, allocations: 0.5648 MB / 470.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.08394, allocations: 15.89 kB / 470.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.08399, allocations: 50.67 kB / 470.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.08402, allocations: 8.891 kB / 470.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.08419, allocations: 211.9 kB / 470.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.08421, allocations: 8.375 kB / 470.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.08423, allocations: 12.38 kB / 470.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.08447, allocations: 162.1 kB / 470.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.08449, allocations: 3.938 kB / 470.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.08451, allocations: 4 kB / 470.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.08452, allocations: 4 kB / 470.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.08469, allocations: 112 kB / 470.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006758/0.08537, allocations: 0.5158 MB / 471.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007339/0.08611, allocations: 158.4 kB / 471.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.0862, allocations: 44.8 kB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.08631, allocations: 85.09 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.08634, allocations: 30.56 kB / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.875e-06/0.08635, allocations: 0 / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001062/0.08742, allocations: 359.4 kB / 472 MB, free: 11.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.08746, allocations: 59.34 kB / 472.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/0.08755, allocations: 121.8 kB / 472.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.08758, allocations: 29.7 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.08765, allocations: 132.2 kB / 472.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.08768, allocations: 31.73 kB / 472.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.08774, allocations: 33.72 kB / 472.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.08784, allocations: 314.8 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.08792, allocations: 43.98 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.088, allocations: 53.7 kB / 472.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.08817, allocations: 109.6 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.08817, allocations: 0 / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004485/0.08863, allocations: 214.2 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.08865, allocations: 4 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.08866, allocations: 0 / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003882/0.08905, allocations: 76.77 kB / 473.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.08913, allocations: 27.92 kB / 473.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.09068, allocations: 1.637 MB / 474.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.09076, allocations: 11.97 kB / 474.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.09078, allocations: 4 kB / 474.9 MB, free: 8.773 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.965e-05/0.09088, allocations: 125.8 kB / 475 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.09091, allocations: 11.94 kB / 475.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004689/0.09139, allocations: 202.6 kB / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.0914, allocations: 144 / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.09141, allocations: 4 kB / 475.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.09142, allocations: 7.922 kB / 475.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.09162, allocations: 237.4 kB / 475.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.09163, allocations: 384 / 475.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.09168, allocations: 12 kB / 475.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003126/0.09199, allocations: 76.77 kB / 475.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.09201, allocations: 0 / 475.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.09338, allocations: 1.641 MB / 477.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09339, allocations: 0 / 477.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.09383, allocations: 284.2 kB / 477.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.09387, allocations: 89.02 kB / 477.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.09389, allocations: 0 / 477.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-05/0.09399, allocations: 4 kB / 477.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.09403, allocations: 15.92 kB / 477.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.09404, allocations: 0 / 477.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.934e-05/0.0941, allocations: 107.2 kB / 477.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0941, allocations: 0 / 477.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.09439, allocations: 51.88 kB / 477.8 MB, free: 5.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007433/0.09514, allocations: 0.823 MB / 478.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005857/0.09573, allocations: 266.4 kB / 478.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.09575, allocations: 4.062 kB / 478.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.0961, allocations: 194.6 kB / 479 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.09633, allocations: 11.98 kB / 479.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.09839, allocations: 1.778 MB / 480.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.09864, allocations: 0.7119 MB / 481.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.385e-05/0.09868, allocations: 4.672 kB / 481.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.09874, allocations: 39.42 kB / 481.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.09874, allocations: 4 kB / 481.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.1203, allocations: 3.537 MB / 485.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.421/8.541, allocations: 6.906 kB / 485.1 MB, free: 14.2 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1)