Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 181 kB / 8.045 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.5 MB / 230 MB, free: 3.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009741/0.0009741, allocations: 87.67 kB / 280.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0564/0.0564, allocations: 8.1 MB / 339.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.964e-05, allocations: 4 kB / 398.5 MB, free: 67.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09542/0.09546, allocations: 52.52 MB / 451 MB, free: 15.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3507/0.4463, allocations: 81.23 MB / 0.5197 GB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.4465, allocations: 68.03 kB / 0.5198 GB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03326/0.4798, allocations: 12.04 MB / 0.5316 GB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4799, allocations: 0 / 0.5316 GB, free: 3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.297e-05/0.4799, allocations: 8 kB / 0.5316 GB, free: 2.992 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002928/0.4829, allocations: 0.9521 MB / 0.5325 GB, free: 2.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.4829, allocations: 19.92 kB / 0.5325 GB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/0.4832, allocations: 71.17 kB / 0.5326 GB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008458/0.484, allocations: 472.7 kB / 0.533 GB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.4841, allocations: 8 kB / 0.533 GB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.388e-05/0.4841, allocations: 12 kB / 0.5331 GB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005503/0.4847, allocations: 348 kB / 0.5334 GB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/0.4853, allocations: 409.4 kB / 0.5338 GB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4854, allocations: 0 / 0.5338 GB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.4854, allocations: 8 kB / 0.5338 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.4854, allocations: 4 kB / 0.5338 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.4878, allocations: 1.373 MB / 0.5351 GB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008543/0.4887, allocations: 448.6 kB / 0.5356 GB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.489, allocations: 282 kB / 0.5358 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.4891, allocations: 4 kB / 0.5358 GB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006049/0.4897, allocations: 0.498 MB / 0.5363 GB, free: 14.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.365e-06/0.4897, allocations: 0 / 0.5363 GB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.002269/0.492, allocations: 0.9103 MB / 0.5372 GB, free: 14.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.4921, allocations: 246.2 kB / 0.5374 GB, free: 13.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008229/0.4929, allocations: 0.5745 MB / 0.538 GB, free: 13.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.493, allocations: 31.08 kB / 0.538 GB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.4932, allocations: 263.7 kB / 0.5383 GB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.4934, allocations: 114.1 kB / 0.5384 GB, free: 13.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.4934, allocations: 0 / 0.5384 GB, free: 13.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4936, allocations: 376 kB / 0.5388 GB, free: 12.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.4939, allocations: 211.7 kB / 0.539 GB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.4942, allocations: 282.8 kB / 0.5392 GB, free: 12.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.4947, allocations: 229.6 kB / 0.5394 GB, free: 12.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4947, allocations: 0 / 0.5394 GB, free: 12.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001996/0.4967, allocations: 0.8942 MB / 0.5403 GB, free: 11.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.169e-05/0.4968, allocations: 69.09 kB / 0.5404 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4968, allocations: 4 kB / 0.5404 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.4983, allocations: 346.2 kB / 0.5407 GB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.4985, allocations: 47.3 kB / 0.5408 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.5007, allocations: 2.087 MB / 0.5428 GB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005162/0.5013, allocations: 67.92 kB / 0.5429 GB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/0.5014, allocations: 31.36 kB / 0.5429 GB, free: 8.98 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = "s" fixed = false protected = true ) "Time lag between the first change and the following tap" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = false protected = true ) "Time when the signal U went out its normal range" type: Real varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = false ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,$PRE.varTra.tapChanger.tap,varTra.tapChanger.tap,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,$PRE.varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003734/0.5018, allocations: 215.8 kB / 0.5431 GB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.5019, allocations: 67.25 kB / 0.5432 GB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.5045, allocations: 1.096 MB / 0.5442 GB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/0.5045, allocations: 4 kB / 0.5442 GB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5045, allocations: 3.938 kB / 0.5442 GB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.5045, allocations: 3.984 kB / 0.5442 GB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008716/0.5054, allocations: 0.5553 MB / 0.5448 GB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5054, allocations: 8 kB / 0.5448 GB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.5056, allocations: 35.98 kB / 0.5448 GB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/0.507, allocations: 376.4 kB / 0.5452 GB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/0.5071, allocations: 19.92 kB / 0.5452 GB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/0.5093, allocations: 2.134 MB / 0.5473 GB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5093, allocations: 0 / 0.5473 GB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.5117, allocations: 1.093 MB / 0.5484 GB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.512, allocations: 230.4 kB / 0.5486 GB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.5122, allocations: 22.38 kB / 0.5486 GB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/0.5126, allocations: 59.94 kB / 0.5487 GB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.5127, allocations: 38.19 kB / 0.5487 GB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/0.5128, allocations: 27.44 kB / 0.5487 GB, free: 3.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006201/0.5134, allocations: 467.2 kB / 0.5492 GB, free: 3.535 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5134, allocations: 3.938 kB / 0.5492 GB, free: 3.531 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000649/0.5141, allocations: 131.3 kB / 0.5493 GB, free: 3.406 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004341/0.5145, allocations: 173.9 kB / 0.5495 GB, free: 3.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.516, allocations: 0.7753 MB / 0.5502 GB, free: 2.648 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.516, allocations: 3.062 kB / 0.5502 GB, free: 2.648 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009175/0.5169, allocations: 0.6735 MB / 0.5509 GB, free: 2.172 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.5173, allocations: 40.38 kB / 0.5509 GB, free: 2.148 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.5189, allocations: 0.7945 MB / 0.5517 GB, free: 1.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/0.5196, allocations: 0.8864 MB / 0.5526 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002072/0.5198, allocations: 59.23 kB / 0.5526 GB, free: 468 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.5199, allocations: 31.44 kB / 0.5526 GB, free: 436 kB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5199, allocations: 4 kB / 0.5526 GB, free: 432 kB / 362.7 MB Notification: Performance of Templates: time 0.01424/0.5342, allocations: 6.665 MB / 0.5592 GB, free: 9.832 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1)