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/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.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.001211/0.001211, allocations: 100.3 kB / 15.73 MB, free: 436 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.0008801/0.0008802, allocations: 178.8 kB / 16.62 MB, free: 6.562 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.3/1.3, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1471/0.1471, allocations: 8.089 MB / 299.7 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002978, allocations: 12 kB / 362.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.09003, allocations: 52.51 MB / 415.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.001221/0.09128, allocations: 0.8887 MB / 416.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.09256, allocations: 1.174 MB / 417.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.09262, allocations: 3.938 kB / 417.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.09286, allocations: 87.58 kB / 417.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.093, allocations: 43.91 kB / 417.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009633/0.09397, allocations: 0.6033 MB / 418.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.09414, allocations: 91.81 kB / 418.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.09426, allocations: 49.06 kB / 418.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.492e-05/0.09432, allocations: 47.73 kB / 418.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.09442, allocations: 59.77 kB / 418.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.09444, allocations: 11.94 kB / 418.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.09464, allocations: 107.9 kB / 418.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.09467, allocations: 31.78 kB / 418.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.09472, allocations: 45.64 kB / 418.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.09493, allocations: 171.9 kB / 418.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.09494, allocations: 0 / 418.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09495, allocations: 0 / 418.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.09496, allocations: 0 / 418.8 MB, free: 5.242 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.00114/0.09611, allocations: 0.5378 MB / 419.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.09615, allocations: 12.03 kB / 419.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.0962, allocations: 50.5 kB / 419.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.09624, allocations: 11.81 kB / 419.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.09643, allocations: 210.9 kB / 419.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.09645, allocations: 8 kB / 419.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.09648, allocations: 15.94 kB / 419.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.09674, allocations: 149.6 kB / 419.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.09675, allocations: 0 / 419.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.09677, allocations: 8 kB / 419.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.09678, allocations: 3.953 kB / 419.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.09696, allocations: 108 kB / 419.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007157/0.09769, allocations: 0.5274 MB / 420.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007825/0.09848, allocations: 154.5 kB / 420.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.0986, allocations: 85.09 kB / 420.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.09863, allocations: 30.56 kB / 420.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.09864, allocations: 0 / 420.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001078/0.09972, allocations: 347.4 kB / 421 MB, free: 2.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.09977, allocations: 55.41 kB / 421 MB, free: 2.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.09987, allocations: 128.9 kB / 421.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.09989, allocations: 33.7 kB / 421.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.09996, allocations: 128.3 kB / 421.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.1, allocations: 27.56 kB / 421.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.609e-05/0.1, allocations: 0 / 421.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1001, allocations: 322.8 kB / 421.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.1002, allocations: 43.92 kB / 421.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.187e-05/0.1003, allocations: 61.64 kB / 421.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.823e-05/0.1004, allocations: 51.95 kB / 421.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1004, allocations: 0 / 421.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004722/0.1009, allocations: 202.2 kB / 422 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1009, allocations: 7.984 kB / 422 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1009, allocations: 0 / 422 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003993/0.1013, allocations: 76.81 kB / 422.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.1014, allocations: 19.94 kB / 422.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.1029, allocations: 1.534 MB / 423.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-05/0.103, allocations: 7.969 kB / 423.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.103, allocations: 4 kB / 423.7 MB, free: 15.91 MB / 366.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 0.0001059/0.1031, allocations: 130.4 kB / 423.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.1032, allocations: 7.906 kB / 423.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.1037, allocations: 210.5 kB / 424 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1037, allocations: 0 / 424 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1037, allocations: 0 / 424 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1037, allocations: 0 / 424 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.1039, allocations: 233.5 kB / 424.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1039, allocations: 0 / 424.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.104, allocations: 12.28 kB / 424.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003494/0.1043, allocations: 80.75 kB / 424.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1044, allocations: 4 kB / 424.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.1058, allocations: 1.53 MB / 425.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1058, allocations: 0 / 425.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.1063, allocations: 280.3 kB / 426.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.1064, allocations: 85.02 kB / 426.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.1064, allocations: 0 / 426.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1065, allocations: 12.05 kB / 426.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.1065, allocations: 19.89 kB / 426.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.1065, allocations: 3.984 kB / 426.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.02e-05/0.1066, allocations: 99.27 kB / 426.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1066, allocations: 0 / 426.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.1069, allocations: 51.84 kB / 426.4 MB, free: 12.93 MB / 366.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.0007698/0.1077, allocations: 0.8225 MB / 427.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004978/0.1082, allocations: 246.8 kB / 427.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1082, allocations: 0 / 427.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003725/0.1086, allocations: 198.7 kB / 427.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.1088, allocations: 11.94 kB / 427.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007826/0.1095, allocations: 0.6896 MB / 428.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1098, allocations: 0.7241 MB / 429.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.93e-05/0.1099, allocations: 8.656 kB / 429.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.1099, allocations: 39.42 kB / 429.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1099, allocations: 0 / 429.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.1223, allocations: 3.125 MB / 432.3 MB, free: 7.055 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/0.1225, allocations: 170.8 kB / 432.4 MB, free: 6.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/1.648, allocations: 0 / 432.4 MB, free: 6.809 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1) Environment - environmentSimulation: