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.001025/0.001025, allocations: 108.6 kB / 16.03 MB, free: 6.34 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.001043/0.001043, allocations: 193.9 kB / 16.95 MB, free: 6.168 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.32/1.32, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04721/0.04721, allocations: 8.092 MB / 298.9 MB, free: 6.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 361.3 MB, free: 8.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1788, allocations: 51.52 MB / 412.8 MB, free: 25.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003092/0.1819, allocations: 3.228 MB / 416.1 MB, free: 22.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1834, allocations: 1.094 MB / 417.2 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.1836, allocations: 8 kB / 417.2 MB, free: 21.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.184, allocations: 143.3 kB / 417.3 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005588/0.1846, allocations: 226.8 kB / 417.5 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.1862, allocations: 1.194 MB / 418.7 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004869/0.1867, allocations: 0.5214 MB / 419.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.1869, allocations: 134.2 kB / 419.4 MB, free: 19.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.1871, allocations: 207.2 kB / 419.6 MB, free: 18.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.1873, allocations: 254.9 kB / 419.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.019e-05/0.1874, allocations: 44 kB / 419.9 MB, free: 18.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004149/0.1878, allocations: 315.8 kB / 420.2 MB, free: 18.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.1879, allocations: 91.59 kB / 420.3 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.188, allocations: 222.9 kB / 420.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.1885, allocations: 0.6855 MB / 421.2 MB, free: 17.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1886, allocations: 0 / 421.2 MB, free: 17.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1886, allocations: 0 / 421.2 MB, free: 17.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1886, allocations: 0 / 421.2 MB, free: 17.37 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.003866/0.1924, allocations: 1.312 MB / 422.5 MB, free: 16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1925, allocations: 15.89 kB / 422.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.619e-05/0.1926, allocations: 62.72 kB / 422.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.874e-05/0.1927, allocations: 48.47 kB / 422.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.193, allocations: 371.2 kB / 423 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.1931, allocations: 54.83 kB / 423 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/0.1931, allocations: 36.38 kB / 423.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007498/0.1939, allocations: 484.6 kB / 423.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1939, allocations: 0 / 423.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/0.1939, allocations: 15.94 kB / 423.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.194, allocations: 4 kB / 423.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006817/0.1946, allocations: 462 kB / 424 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.1967, allocations: 1.972 MB / 426 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008983/0.1976, allocations: 0.5506 MB / 426.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.1981, allocations: 337.5 kB / 426.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.1982, allocations: 97.41 kB / 427 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007345/0.199, allocations: 0.5397 MB / 427.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 1.693e-06/0.199, allocations: 0 / 427.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.005256/0.2042, allocations: 1.892 MB / 429.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.2043, allocations: 195.9 kB / 429.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.2045, allocations: 320.4 kB / 429.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.2046, allocations: 41.7 kB / 429.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.2047, allocations: 172.8 kB / 430.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.421e-05/0.2048, allocations: 157.8 kB / 430.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.2049, allocations: 106.2 kB / 430.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.134e-05/0.205, allocations: 354.7 kB / 430.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.2053, allocations: 285.1 kB / 431 MB, free: 7.078 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.2057, allocations: 354 kB / 431.3 MB, free: 6.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006994/0.2127, allocations: 2.158 MB / 433.5 MB, free: 4.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2128, allocations: 0 / 433.5 MB, free: 4.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002987/0.2158, allocations: 1.297 MB / 434.8 MB, free: 3.219 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.2158, allocations: 37.69 kB / 434.8 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2158, allocations: 7.938 kB / 434.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003447/0.2193, allocations: 0.8589 MB / 435.7 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.2195, allocations: 75.89 kB / 435.8 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.2209, allocations: 1.275 MB / 437 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005233/0.2214, allocations: 93.88 kB / 437.1 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.2214, allocations: 23.98 kB / 437.2 MB, free: 0.8125 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.0002568/0.2217, allocations: 229.9 kB / 437.4 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.2218, allocations: 43.53 kB / 437.4 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.2237, allocations: 1.216 MB / 438.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2237, allocations: 8 kB / 438.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2237, allocations: 0 / 438.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2237, allocations: 7.922 kB / 438.7 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005691/0.2243, allocations: 0.6306 MB / 439.3 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2243, allocations: 0 / 439.3 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.2245, allocations: 55.91 kB / 439.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003704/0.2282, allocations: 0.9122 MB / 440.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.2283, allocations: 16 kB / 440.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.2302, allocations: 1.401 MB / 441.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2302, allocations: 0 / 441.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.2321, allocations: 1.194 MB / 442.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.2323, allocations: 200.4 kB / 443.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.2324, allocations: 19.98 kB / 443.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/0.2329, allocations: 59.94 kB / 443.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.2331, allocations: 48.38 kB / 443.2 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.2331, allocations: 23.98 kB / 443.2 MB, free: 10.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.2334, allocations: 235 kB / 443.4 MB, free: 10.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2334, allocations: 0 / 443.4 MB, free: 10.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004135/0.2338, allocations: 143.9 kB / 443.6 MB, free: 10.21 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.002363/0.2362, allocations: 1.762 MB / 445.3 MB, free: 8.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.2381, allocations: 0.9402 MB / 446.3 MB, free: 7.461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2381, allocations: 0 / 446.3 MB, free: 7.461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.2394, allocations: 0.6764 MB / 447 MB, free: 6.773 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.2398, allocations: 45.03 kB / 447 MB, free: 6.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.2502, allocations: 5.766 MB / 452.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.2506, allocations: 0.8122 MB / 453.6 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.2508, allocations: 43.25 kB / 453.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.251, allocations: 135.4 kB / 453.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.251, allocations: 4 kB / 453.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4538/0.7048, allocations: 13.84 MB / 467.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003017/0.7052, allocations: 243.3 kB / 467.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.692, allocations: 0 / 467.8 MB, free: 1.934 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)