Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",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.001121/0.001126, allocations: 105.8 kB / 16.31 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 191.2 kB / 17.24 MB, free: 5.922 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04453/0.04453, allocations: 8.1 MB / 299.2 MB, free: 6.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.89 kB / 361.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1971, allocations: 51.51 MB / 413.3 MB, free: 25.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003356/0.2005, allocations: 3.209 MB / 416.6 MB, free: 22.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.202, allocations: 1.102 MB / 417.7 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.2021, allocations: 8 kB / 417.7 MB, free: 21.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.2026, allocations: 167 kB / 417.8 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005126/0.2031, allocations: 262.5 kB / 418.1 MB, free: 20.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.2047, allocations: 1.264 MB / 419.4 MB, free: 19.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000451/0.2052, allocations: 0.5175 MB / 419.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.2054, allocations: 130.2 kB / 420 MB, free: 18.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.2055, allocations: 215.2 kB / 420.2 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.2058, allocations: 247 kB / 420.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.019e-05/0.2059, allocations: 44 kB / 420.5 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.2063, allocations: 315.7 kB / 420.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.2064, allocations: 83.62 kB / 420.9 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.2065, allocations: 242.8 kB / 421.1 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000559/0.2071, allocations: 0.6855 MB / 421.8 MB, free: 17.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2071, allocations: 0 / 421.8 MB, free: 17.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2071, allocations: 0 / 421.8 MB, free: 17.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.2071, allocations: 0 / 421.8 MB, free: 17.11 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.004078/0.2112, allocations: 1.312 MB / 423.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2113, allocations: 11.89 kB / 423.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.456e-05/0.2113, allocations: 66.72 kB / 423.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.953e-05/0.2114, allocations: 44.47 kB / 423.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.2118, allocations: 355.2 kB / 423.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.2119, allocations: 62.81 kB / 423.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.2119, allocations: 32.38 kB / 423.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000752/0.2127, allocations: 480.6 kB / 424.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2127, allocations: 4 kB / 424.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.2128, allocations: 12 kB / 424.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2128, allocations: 8 kB / 424.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007507/0.2135, allocations: 462 kB / 424.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.2158, allocations: 1.98 MB / 426.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000958/0.2167, allocations: 0.5546 MB / 427.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/0.2172, allocations: 341.4 kB / 427.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.2174, allocations: 85.42 kB / 427.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007379/0.2181, allocations: 0.5398 MB / 428.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.194e-06/0.2181, allocations: 0 / 428.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.005521/0.2236, allocations: 1.884 MB / 430 MB, free: 8.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.2237, allocations: 203.8 kB / 430.2 MB, free: 8.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.224, allocations: 324.4 kB / 430.5 MB, free: 7.945 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.2241, allocations: 41.7 kB / 430.5 MB, free: 7.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.2241, allocations: 180.8 kB / 430.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.156e-05/0.2242, allocations: 149.8 kB / 430.9 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.2244, allocations: 102.2 kB / 431 MB, free: 7.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.2245, allocations: 354.7 kB / 431.3 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.2249, allocations: 289.1 kB / 431.6 MB, free: 6.828 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.2253, allocations: 346.1 kB / 431.9 MB, free: 6.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007431/0.2328, allocations: 2.162 MB / 434.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2328, allocations: 4 kB / 434.1 MB, free: 4.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003064/0.2359, allocations: 1.301 MB / 435.4 MB, free: 2.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.2359, allocations: 37.69 kB / 435.4 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2359, allocations: 3.938 kB / 435.4 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003444/0.2394, allocations: 0.8644 MB / 436.3 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.2397, allocations: 79.83 kB / 436.4 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.2411, allocations: 1.266 MB / 437.7 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.2417, allocations: 91.53 kB / 437.7 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.2418, allocations: 19.98 kB / 437.8 MB, free: 0.5625 MB / 302.1 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) "Current tap position" type: Integer varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varLoad.degradedMode,$PRE.varLoad.degradedMode,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002794/0.2421, allocations: 239.9 kB / 438 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/0.2422, allocations: 43.53 kB / 438 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.2442, allocations: 1.228 MB / 439.3 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.2443, allocations: 4 kB / 439.3 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.2443, allocations: 4 kB / 439.3 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.2443, allocations: 7.922 kB / 439.3 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/0.245, allocations: 0.6267 MB / 439.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.245, allocations: 4 kB / 439.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.2452, allocations: 51.91 kB / 440 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003732/0.2489, allocations: 0.9117 MB / 440.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/0.249, allocations: 12 kB / 440.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.2512, allocations: 1.403 MB / 442.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2512, allocations: 0 / 442.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.2531, allocations: 1.186 MB / 443.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.2534, allocations: 192.4 kB / 443.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.823e-05/0.2535, allocations: 24.12 kB / 443.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/0.254, allocations: 71.92 kB / 443.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.2542, allocations: 44.38 kB / 443.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/0.2542, allocations: 23.98 kB / 443.8 MB, free: 10.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000252/0.2545, allocations: 227.1 kB / 444 MB, free: 10.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2545, allocations: 0 / 444 MB, free: 10.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004585/0.255, allocations: 143.9 kB / 444.2 MB, free: 9.965 MB / 318.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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002421/0.2574, allocations: 1.782 MB / 446 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.2595, allocations: 0.9363 MB / 446.9 MB, free: 7.195 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.2595, allocations: 4 kB / 446.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.2608, allocations: 0.6763 MB / 447.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.2612, allocations: 45.03 kB / 447.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.2718, allocations: 5.621 MB / 453.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.2722, allocations: 0.8045 MB / 454.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.2723, allocations: 51.25 kB / 454.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.2725, allocations: 131.3 kB / 454.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2725, allocations: 0 / 454.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.3059, allocations: 14.29 MB / 468.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.66, allocations: 0.7188 kB / 468.5 MB, free: 1.598 MB / 334.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1)