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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 115.7 kB / 19.74 MB, free: 2.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 217.4 kB / 23.05 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04217/0.04217, allocations: 6.128 MB / 319.4 MB, free: 12.97 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 51.92 kB / 444.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.11, allocations: 55.02 MB / 499.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003943/0.1139, allocations: 2.662 MB / 0.4904 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.1164, allocations: 1.437 MB / 0.4918 GB, free: 10.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1165, allocations: 4 kB / 0.4918 GB, free: 10.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.1171, allocations: 259 kB / 0.4921 GB, free: 9.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.1176, allocations: 262.8 kB / 0.4923 GB, free: 9.645 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.1196, allocations: 1.006 MB / 0.4933 GB, free: 8.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006605/0.1203, allocations: 454.5 kB / 0.4937 GB, free: 8.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1204, allocations: 48.86 kB / 0.4938 GB, free: 8.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.1207, allocations: 207.3 kB / 0.494 GB, free: 7.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004306/0.1211, allocations: 315 kB / 0.4943 GB, free: 7.629 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.87e-05/0.1212, allocations: 32 kB / 0.4943 GB, free: 7.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006312/0.1218, allocations: 327.7 kB / 0.4946 GB, free: 7.277 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.122, allocations: 151.5 kB / 0.4948 GB, free: 7.129 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.1223, allocations: 238.5 kB / 0.495 GB, free: 6.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.1233, allocations: 0.7355 MB / 0.4957 GB, free: 6.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1233, allocations: 3.984 kB / 0.4957 GB, free: 6.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1233, allocations: 0 / 0.4957 GB, free: 6.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.1233, allocations: 0 / 0.4957 GB, free: 6.152 MB / 366.1 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.004281/0.1276, allocations: 1.302 MB / 0.497 GB, free: 4.805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.1276, allocations: 12.03 kB / 0.497 GB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.53e-05/0.1277, allocations: 66.66 kB / 0.4971 GB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.1279, allocations: 72.45 kB / 0.4971 GB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007779/0.1286, allocations: 414.4 kB / 0.4975 GB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.1287, allocations: 12.38 kB / 0.4976 GB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.1287, allocations: 32.12 kB / 0.4976 GB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007792/0.1295, allocations: 406.2 kB / 0.498 GB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1295, allocations: 4 kB / 0.498 GB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.1296, allocations: 15.98 kB / 0.498 GB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1296, allocations: 4 kB / 0.498 GB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.1302, allocations: 348.6 kB / 0.4983 GB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.132, allocations: 0.9647 MB / 0.4993 GB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008832/0.1328, allocations: 382.9 kB / 0.4996 GB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.1332, allocations: 225 kB / 0.4998 GB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.1343, allocations: 0.6839 MB / 0.5005 GB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006974/0.135, allocations: 496.5 kB / 0.501 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.135, allocations: 0 / 0.501 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.00352/0.1385, allocations: 1.204 MB / 0.5022 GB, free: 15.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001906/0.1387, allocations: 243.6 kB / 0.5024 GB, free: 15.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008669/0.1396, allocations: 0.6864 MB / 0.5031 GB, free: 14.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.1397, allocations: 37.7 kB / 0.5031 GB, free: 14.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.1399, allocations: 252.8 kB / 0.5033 GB, free: 14.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.14, allocations: 123 kB / 0.5035 GB, free: 13.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.1402, allocations: 86.02 kB / 0.5035 GB, free: 13.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002423/0.1404, allocations: 382.8 kB / 0.5039 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.1407, allocations: 200.8 kB / 0.5041 GB, free: 13.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.1411, allocations: 306.8 kB / 0.5044 GB, free: 12.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003734/0.1449, allocations: 1.406 MB / 0.5058 GB, free: 11.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.1449, allocations: 4 kB / 0.5058 GB, free: 11.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001974/0.1469, allocations: 0.9194 MB / 0.5067 GB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.814e-05/0.1469, allocations: 75.33 kB / 0.5067 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1469, allocations: 4 kB / 0.5067 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.1485, allocations: 351.3 kB / 0.5071 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.1487, allocations: 67.89 kB / 0.5071 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.1513, allocations: 2.167 MB / 0.5093 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.1518, allocations: 83.77 kB / 0.5093 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.1518, allocations: 16 kB / 0.5094 GB, free: 7.543 MB / 382.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: 11 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005355/0.1524, allocations: 331.5 kB / 0.5097 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1525, allocations: 67.58 kB / 0.5097 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.1547, allocations: 1.008 MB / 0.5107 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1548, allocations: 4 kB / 0.5107 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1548, allocations: 0 / 0.5107 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1548, allocations: 0 / 0.5107 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.1554, allocations: 0.5353 MB / 0.5112 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1554, allocations: 3.938 kB / 0.5112 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.1555, allocations: 27.98 kB / 0.5113 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.1571, allocations: 407.1 kB / 0.5117 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.1571, allocations: 11.94 kB / 0.5117 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.1597, allocations: 2.274 MB / 0.5139 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1597, allocations: 3.938 kB / 0.5139 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.1619, allocations: 1.016 MB / 0.5149 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/0.1622, allocations: 127.4 kB / 0.515 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.732e-05/0.1623, allocations: 27.94 kB / 0.515 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.1627, allocations: 55.88 kB / 0.5151 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.1628, allocations: 35.94 kB / 0.5151 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/0.1629, allocations: 27.97 kB / 0.5152 GB, free: 1.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006285/0.1635, allocations: 498.8 kB / 0.5156 GB, free: 0.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1635, allocations: 3.938 kB / 0.5156 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005367/0.164, allocations: 139.9 kB / 0.5158 GB, free: 0.6914 MB / 382.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: 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 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2263/0.3904, allocations: 1.612 MB / 0.5173 GB, free: 30.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.3919, allocations: 0.7656 MB / 0.5181 GB, free: 30.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.3919, allocations: 5.969 kB / 0.5181 GB, free: 30.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008754/0.3928, allocations: 0.509 MB / 0.5186 GB, free: 29.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.3933, allocations: 54.95 kB / 0.5186 GB, free: 29.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.4036, allocations: 6.911 MB / 0.5254 GB, free: 28.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.404, allocations: 0.874 MB / 0.5262 GB, free: 27.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.4042, allocations: 55.94 kB / 0.5263 GB, free: 27.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.4044, allocations: 190.3 kB / 0.5265 GB, free: 27.36 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4044, allocations: 0 / 0.5265 GB, free: 27.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05107/0.4554, allocations: 14.69 MB / 0.5408 GB, free: 22.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.58, allocations: 6.281 kB / 0.5408 GB, free: 22.82 MB / 382.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1_fmu --startTime=0 --stopTime=350 --stepSize=0.14 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.263096529059112] Failed to read output from testmodel.py, exit status != 0: 14.703199475072324 14.714902142 14.589302001 Calling exit ...