Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",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.000746/0.000746, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008553/0.0008554, allocations: 178.3 kB / 16.63 MB, free: 6.887 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.273/1.273, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.16/0.16, allocations: 8.086 MB / 299.8 MB, free: 2.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002878, allocations: 8 kB / 363 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08417/0.08448, allocations: 52.51 MB / 415.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.001235/0.08575, allocations: 0.9296 MB / 416.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.08711, allocations: 1.178 MB / 417.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.08721, allocations: 4 kB / 417.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.08747, allocations: 79.61 kB / 417.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.08763, allocations: 43.75 kB / 417.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009358/0.08858, allocations: 0.5957 MB / 418.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.08878, allocations: 123.4 kB / 418.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.08892, allocations: 53.05 kB / 418.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.949e-05/0.08901, allocations: 47.86 kB / 418.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.239e-05/0.0891, allocations: 55.7 kB / 418.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.08913, allocations: 4 kB / 418.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.08939, allocations: 131.9 kB / 418.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.08942, allocations: 19.92 kB / 418.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.08946, allocations: 45.64 kB / 418.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.08971, allocations: 183.7 kB / 418.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.08972, allocations: 0 / 418.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.08973, allocations: 0 / 418.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.08974, allocations: 4 kB / 418.9 MB, free: 5.145 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.09083, allocations: 0.5339 MB / 419.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.09087, allocations: 12.03 kB / 419.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.09092, allocations: 54.48 kB / 419.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.09097, allocations: 19.77 kB / 419.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.09114, allocations: 195 kB / 419.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.09116, allocations: 8 kB / 419.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.09119, allocations: 16 kB / 419.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.09143, allocations: 153.6 kB / 419.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.09145, allocations: 0 / 419.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.09147, allocations: 7.938 kB / 419.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.09148, allocations: 11.95 kB / 419.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.09165, allocations: 112 kB / 420.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.09233, allocations: 0.5196 MB / 420.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006925/0.09304, allocations: 158.4 kB / 420.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.93e-05/0.09312, allocations: 44.84 kB / 420.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.09323, allocations: 81.11 kB / 420.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.09325, allocations: 30.56 kB / 420.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.09326, allocations: 0 / 420.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009505/0.09422, allocations: 363.7 kB / 421.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.09425, allocations: 59.48 kB / 421.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.09435, allocations: 132.9 kB / 421.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.09438, allocations: 25.7 kB / 421.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.09445, allocations: 132 kB / 421.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.09448, allocations: 31.55 kB / 421.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.09449, allocations: 0 / 421.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.008e-05/0.09457, allocations: 314.8 kB / 421.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-05/0.09465, allocations: 39.98 kB / 422 MB, free: 1.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.629e-05/0.09473, allocations: 61.7 kB / 422 MB, free: 1.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.09482, allocations: 47.94 kB / 422.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.09483, allocations: 0 / 422.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004304/0.09526, allocations: 206.2 kB / 422.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.09529, allocations: 8 kB / 422.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.0953, allocations: 4.031 kB / 422.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003522/0.09565, allocations: 76.77 kB / 422.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.09573, allocations: 19.95 kB / 422.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1547/0.2504, allocations: 1.502 MB / 423.9 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.837e-05/0.2505, allocations: 13.42 kB / 423.9 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.2506, allocations: 6.781 kB / 423.9 MB, free: 40.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.653e-05/0.2507, allocations: 125.5 kB / 424 MB, free: 40.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.2507, allocations: 3.375 kB / 424 MB, free: 40.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.2512, allocations: 210.6 kB / 424.2 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.2512, allocations: 3.344 kB / 424.2 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.2512, allocations: 4.734 kB / 424.2 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2513, allocations: 0.5312 kB / 424.2 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.2515, allocations: 233.5 kB / 424.5 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2515, allocations: 0 / 424.5 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.2515, allocations: 13.36 kB / 424.5 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000311/0.2519, allocations: 77.69 kB / 424.5 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2519, allocations: 3.719 kB / 424.5 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.253, allocations: 1.513 MB / 426.1 MB, free: 38.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.253, allocations: 4.109 kB / 426.1 MB, free: 38.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.2534, allocations: 282 kB / 426.3 MB, free: 38.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.2534, allocations: 85.48 kB / 426.4 MB, free: 38.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.2534, allocations: 3.953 kB / 426.4 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.2535, allocations: 7.359 kB / 426.4 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.2535, allocations: 12.92 kB / 426.4 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2536, allocations: 5.984 kB / 426.5 MB, free: 38.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.2536, allocations: 98.12 kB / 426.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2536, allocations: 0 / 426.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000296/0.2539, allocations: 46.61 kB / 426.6 MB, free: 38.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005853/0.2545, allocations: 0.8189 MB / 427.4 MB, free: 37.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004599/0.255, allocations: 248.1 kB / 427.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.255, allocations: 0 / 427.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.2553, allocations: 201.6 kB / 427.9 MB, free: 37.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.2555, allocations: 16.77 kB / 427.9 MB, free: 37.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.2567, allocations: 0.8199 MB / 428.7 MB, free: 37.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.2568, allocations: 0.7093 MB / 429.4 MB, free: 36.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.072e-05/0.2568, allocations: 17.31 kB / 429.4 MB, free: 36.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.2569, allocations: 38.72 kB / 429.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2569, allocations: 0 / 429.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01279/0.2697, allocations: 3.193 MB / 432.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00013/0.2698, allocations: 180.8 kB / 432.8 MB, free: 35.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/1.815, allocations: 0 / 432.8 MB, free: 35.83 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OnePerfectLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) Environment - environmentSimulation: