Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",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.0009283/0.0009285, allocations: 102.9 kB / 16.07 MB, free: 32 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.001043/0.001043, allocations: 182.2 kB / 16.97 MB, free: 6.879 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.329/1.329, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1655/0.1655, allocations: 8.081 MB / 300.2 MB, free: 2.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003295, allocations: 12 kB / 363.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.09949, allocations: 52.52 MB / 416.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.001124/0.1006, allocations: 0.7034 MB / 416.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1021, allocations: 1.088 MB / 417.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.1021, allocations: 4 kB / 417.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.1024, allocations: 51.84 kB / 418 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.1026, allocations: 35.81 kB / 418 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006556/0.1032, allocations: 306.9 kB / 418.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.1034, allocations: 71.67 kB / 418.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1035, allocations: 31.95 kB / 418.4 MB, free: 6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.845e-05/0.1035, allocations: 23.88 kB / 418.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1037, allocations: 35.83 kB / 418.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1037, allocations: 4 kB / 418.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.1039, allocations: 83.91 kB / 418.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.1039, allocations: 11.92 kB / 418.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.104, allocations: 65.44 kB / 418.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1042, allocations: 131.9 kB / 418.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1042, allocations: 0 / 418.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1042, allocations: 0 / 418.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1042, allocations: 4 kB / 418.7 MB, free: 5.641 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006888/0.1049, allocations: 407.2 kB / 419.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.105, allocations: 12.03 kB / 419.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.973e-05/0.105, allocations: 38.75 kB / 419.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.105, allocations: 8.844 kB / 419.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.1052, allocations: 176.2 kB / 419.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1052, allocations: 8.375 kB / 419.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.1053, allocations: 8.359 kB / 419.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1054, allocations: 86.11 kB / 419.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1054, allocations: 11.88 kB / 419.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1055, allocations: 4 kB / 419.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1055, allocations: 4 kB / 419.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.927e-05/0.1056, allocations: 59.97 kB / 419.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.106, allocations: 352.6 kB / 419.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.1063, allocations: 78.61 kB / 420 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.1063, allocations: 20.98 kB / 420 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.1064, allocations: 81.11 kB / 420.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1065, allocations: 38.5 kB / 420.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1065, allocations: 0 / 420.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004928/0.107, allocations: 195.5 kB / 420.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.107, allocations: 59.34 kB / 420.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1072, allocations: 121.8 kB / 420.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1072, allocations: 25.7 kB / 420.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.1072, allocations: 100 kB / 420.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.1073, allocations: 23.73 kB / 420.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.1073, allocations: 13.66 kB / 420.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.1074, allocations: 314.8 kB / 420.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.1074, allocations: 15.98 kB / 421 MB, free: 3.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.1074, allocations: 12 kB / 421 MB, free: 3.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.006e-05/0.1075, allocations: 28.86 kB / 421 MB, free: 3.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1075, allocations: 0 / 421 MB, free: 3.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001777/0.1077, allocations: 94.31 kB / 421.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1077, allocations: 4 kB / 421.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1077, allocations: 0 / 421.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/0.1079, allocations: 24.83 kB / 421.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.05e-05/0.108, allocations: 4 kB / 421.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000981/0.1089, allocations: 1.277 MB / 422.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.109, allocations: 11.91 kB / 422.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.109, allocations: 0 / 422.4 MB, free: 1.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 3 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.1092, allocations: 117.8 kB / 422.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.1092, allocations: 4 kB / 422.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.1094, allocations: 110.4 kB / 422.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1094, allocations: 0 / 422.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1095, allocations: 4 kB / 422.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.1095, allocations: 7.875 kB / 422.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.1097, allocations: 197.5 kB / 422.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1097, allocations: 0 / 422.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.1097, allocations: 8 kB / 422.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/0.1098, allocations: 24.83 kB / 422.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1098, allocations: 4 kB / 422.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008941/0.1107, allocations: 1.276 MB / 424.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1108, allocations: 0 / 424.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.111, allocations: 184.9 kB / 424.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.111, allocations: 88.95 kB / 424.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1111, allocations: 4.125 kB / 424.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1112, allocations: 15.92 kB / 424.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.1112, allocations: 7.938 kB / 424.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.1112, allocations: 0 / 424.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.4e-05/0.1113, allocations: 103.3 kB / 424.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1113, allocations: 0 / 424.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1115, allocations: 19.94 kB / 424.6 MB, free: 15.16 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 (5): * Single equations (assignments): 4 * 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 {(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.0005563/0.1121, allocations: 0.7366 MB / 425.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002945/0.1124, allocations: 150.7 kB / 425.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1124, allocations: 0 / 425.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.1126, allocations: 138.7 kB / 425.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.1129, allocations: 12 kB / 425.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.1144, allocations: 1.459 MB / 427.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.1147, allocations: 0.6965 MB / 427.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.822e-05/0.1147, allocations: 11.73 kB / 427.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.1148, allocations: 23.44 kB / 427.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1148, allocations: 0 / 427.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1923/0.3071, allocations: 2.226 MB / 430 MB, free: 9.645 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003253/0.3075, allocations: 186.1 kB / 430.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/1.994, allocations: 3.938 kB / 430.2 MB, free: 9.383 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1)