Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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: translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009368/0.0009368, allocations: 95.89 kB / 15.73 MB, free: 440 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.001012/0.001012, allocations: 175 kB / 16.61 MB, free: 6.426 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.335/1.335, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1898/0.1898, allocations: 8.084 MB / 299.7 MB, free: 2.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002934, allocations: 12 kB / 362.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1081, allocations: 52.51 MB / 415.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.00179/0.1099, allocations: 1.248 MB / 416.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1116, allocations: 1.279 MB / 417.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1117, allocations: 7.938 kB / 417.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.112, allocations: 63.62 kB / 417.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1122, allocations: 91.75 kB / 418 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007379/0.113, allocations: 362.8 kB / 418.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.1132, allocations: 155.6 kB / 418.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.1134, allocations: 85.75 kB / 418.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1135, allocations: 83.69 kB / 418.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.1138, allocations: 123.5 kB / 418.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.1138, allocations: 12 kB / 418.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.114, allocations: 95.88 kB / 418.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.229e-05/0.1141, allocations: 35.83 kB / 418.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.1142, allocations: 77.52 kB / 419 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.1145, allocations: 235.7 kB / 419.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1145, allocations: 0 / 419.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1145, allocations: 0 / 419.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1145, allocations: 0 / 419.2 MB, free: 4.809 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001615/0.1161, allocations: 0.62 MB / 419.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1162, allocations: 8.031 kB / 419.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.1162, allocations: 31.66 kB / 419.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.1165, allocations: 198.8 kB / 420 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.1165, allocations: 16.56 kB / 420.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.1165, allocations: 24 kB / 420.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.117, allocations: 287.4 kB / 420.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.117, allocations: 4 kB / 420.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.117, allocations: 11.95 kB / 420.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.117, allocations: 4 kB / 420.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.1174, allocations: 245.3 kB / 420.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.1187, allocations: 0.9721 MB / 421.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007208/0.1194, allocations: 370.3 kB / 422 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.1195, allocations: 7.984 kB / 422 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1195, allocations: 34.75 kB / 422 MB, free: 1.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.764e-06/0.1195, allocations: 3.938 kB / 422 MB, free: 1.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00107/0.1206, allocations: 0.5092 MB / 422.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.1206, allocations: 89 kB / 422.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.1209, allocations: 190.5 kB / 422.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1209, allocations: 29.7 kB / 422.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.501e-05/0.121, allocations: 156 kB / 423 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.1211, allocations: 78.91 kB / 423 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.1211, allocations: 4 kB / 423.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1212, allocations: 326.8 kB / 423.4 MB, free: 324 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1213, allocations: 83.97 kB / 423.5 MB, free: 240 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.1215, allocations: 123.4 kB / 423.6 MB, free: 104 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1216, allocations: 104.8 kB / 423.7 MB, free: 0 / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1216, allocations: 0 / 423.7 MB, free: 0 / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.1879/0.3095, allocations: 326.5 kB / 424 MB, free: 40.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3096, allocations: 9.969 kB / 424 MB, free: 40.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3096, allocations: 3.5 kB / 424 MB, free: 40.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003627/0.31, allocations: 72.56 kB / 424.1 MB, free: 40.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.3102, allocations: 46.03 kB / 424.1 MB, free: 40.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.3116, allocations: 2.69 MB / 426.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3118, allocations: 14.98 kB / 426.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.3118, allocations: 16.47 kB / 426.8 MB, free: 38.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.3119, allocations: 136.6 kB / 427 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.312, allocations: 22.84 kB / 427 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.3125, allocations: 301.6 kB / 427.3 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3125, allocations: 3.719 kB / 427.3 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.3125, allocations: 1.375 kB / 427.3 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3125, allocations: 1.312 kB / 427.3 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.3131, allocations: 0.5561 MB / 427.9 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3132, allocations: 0 / 427.9 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3133, allocations: 31.7 kB / 427.9 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002524/0.3135, allocations: 71.8 kB / 428 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3136, allocations: 8.625 kB / 428 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.3148, allocations: 2.688 MB / 430.7 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3148, allocations: 3.953 kB / 430.7 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.3153, allocations: 437.5 kB / 431.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.3153, allocations: 101.3 kB / 431.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.3153, allocations: 9.312 kB / 431.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.3156, allocations: 16.52 kB / 431.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.3156, allocations: 18.22 kB / 431.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3156, allocations: 3.125 kB / 431.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.3157, allocations: 155.5 kB / 431.4 MB, free: 34.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3158, allocations: 0 / 431.4 MB, free: 34.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003674/0.3161, allocations: 76.53 kB / 431.5 MB, free: 34.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001313/0.3163, allocations: 112.7 kB / 431.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005467/0.3168, allocations: 450.6 kB / 432 MB, free: 34.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3168, allocations: 0 / 432 MB, free: 34.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.3172, allocations: 335 kB / 432.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.3175, allocations: 26.34 kB / 432.4 MB, free: 34.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.318, allocations: 0.4993 MB / 432.9 MB, free: 34.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.3181, allocations: 0.7529 MB / 433.6 MB, free: 33.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.3182, allocations: 30.77 kB / 433.6 MB, free: 33.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.3183, allocations: 23.88 kB / 433.7 MB, free: 33.39 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3183, allocations: 4 kB / 433.7 MB, free: 33.39 MB / 350.1 MB Notification: Performance of Templates: time 0.004791/0.3231, allocations: 2.803 MB / 436.5 MB, free: 33.22 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1) Environment - environmentSimulation: