Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 113.3 kB / 17.08 MB, free: 6.016 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.001015/0.001015, allocations: 199 kB / 18.02 MB, free: 5.094 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.252/1.252, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.673/0.673, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 65.33 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1275, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004443/0.1319, allocations: 3.541 MB / 0.6362 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.1345, allocations: 1.886 MB / 0.638 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1346, allocations: 11.94 kB / 0.638 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000703/0.1353, allocations: 239 kB / 0.6383 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.1357, allocations: 215 kB / 0.6385 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.1362, allocations: 255.3 kB / 0.6387 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.1366, allocations: 394.7 kB / 0.6391 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.1369, allocations: 217.7 kB / 0.6393 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.1371, allocations: 151.5 kB / 0.6394 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.1374, allocations: 183.4 kB / 0.6396 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.1374, allocations: 24 kB / 0.6396 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.1378, allocations: 287.5 kB / 0.6399 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.07e-05/0.1379, allocations: 99.7 kB / 0.64 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.138, allocations: 151.2 kB / 0.6402 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.1385, allocations: 490.6 kB / 0.6406 GB, free: 12.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1385, allocations: 0 / 0.6406 GB, free: 12.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1385, allocations: 4 kB / 0.6406 GB, free: 12.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1385, allocations: 0 / 0.6406 GB, free: 12.26 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001045/0.1396, allocations: 0.6408 MB / 0.6413 GB, free: 11.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.1396, allocations: 8.031 kB / 0.6413 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008476/0.1405, allocations: 124.4 kB / 0.6414 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.1408, allocations: 283.7 kB / 0.6417 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1408, allocations: 12.81 kB / 0.6417 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.1409, allocations: 20.36 kB / 0.6417 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.1416, allocations: 434.8 kB / 0.6421 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1417, allocations: 3.906 kB / 0.6421 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.1417, allocations: 8 kB / 0.6421 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.1417, allocations: 24.36 kB / 0.6421 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008977/0.1426, allocations: 404.7 kB / 0.6425 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.1443, allocations: 1.619 MB / 0.6441 GB, free: 8.457 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.1455, allocations: 481 kB / 0.6446 GB, free: 7.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/0.146, allocations: 195.6 kB / 0.6447 GB, free: 7.773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.1461, allocations: 92.95 kB / 0.6448 GB, free: 7.664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000547/0.1467, allocations: 280.1 kB / 0.6451 GB, free: 7.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.1467, allocations: 0 / 0.6451 GB, free: 7.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001818/0.1485, allocations: 0.7552 MB / 0.6458 GB, free: 6.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.1486, allocations: 89.03 kB / 0.6459 GB, free: 6.484 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1487, allocations: 217 kB / 0.6461 GB, free: 6.266 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.1488, allocations: 33.7 kB / 0.6462 GB, free: 6.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.1489, allocations: 168.2 kB / 0.6463 GB, free: 6.055 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.921e-05/0.149, allocations: 98.64 kB / 0.6464 GB, free: 5.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.1491, allocations: 69.44 kB / 0.6465 GB, free: 5.883 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1492, allocations: 338.8 kB / 0.6468 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.1496, allocations: 181 kB / 0.647 GB, free: 5.363 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.1501, allocations: 249.3 kB / 0.6472 GB, free: 5.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000899/0.151, allocations: 462.9 kB / 0.6477 GB, free: 4.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.151, allocations: 0 / 0.6477 GB, free: 4.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001146/0.1522, allocations: 0.5475 MB / 0.6482 GB, free: 4.039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.1522, allocations: 39.72 kB / 0.6482 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1522, allocations: 4 kB / 0.6482 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/0.1524, allocations: 40.83 kB / 0.6483 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.1528, allocations: 88 kB / 0.6484 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.1541, allocations: 1.611 MB / 0.6499 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.1545, allocations: 43.8 kB / 0.65 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.1545, allocations: 23.92 kB / 0.65 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004854/0.155, allocations: 276.3 kB / 0.6503 GB, free: 1.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004414/0.1555, allocations: 238 kB / 0.6505 GB, free: 1.504 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000846/0.1563, allocations: 456.7 kB / 0.6509 GB, free: 1.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.1563, allocations: 0 / 0.6509 GB, free: 1.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001126/0.1575, allocations: 0.5199 MB / 0.6514 GB, free: 496 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.1575, allocations: 41.69 kB / 0.6515 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1575, allocations: 4 kB / 0.6515 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.1576, allocations: 40.83 kB / 0.6515 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.158, allocations: 79.86 kB / 0.6516 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.1592, allocations: 1.619 MB / 0.6532 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.1596, allocations: 47.86 kB / 0.6532 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.1596, allocations: 15.98 kB / 0.6532 GB, free: 14.48 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.1597, allocations: 200.8 kB / 0.6534 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.1598, allocations: 23.72 kB / 0.6534 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.1608, allocations: 485.7 kB / 0.6539 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1609, allocations: 0 / 0.6539 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1609, allocations: 4 kB / 0.6539 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1609, allocations: 4 kB / 0.6539 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/0.1615, allocations: 0.5661 MB / 0.6545 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.1615, allocations: 0 / 0.6545 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.1619, allocations: 75.86 kB / 0.6545 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.162, allocations: 36.92 kB / 0.6546 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.162, allocations: 11.98 kB / 0.6546 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.1631, allocations: 1.52 MB / 0.6561 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1631, allocations: 3.984 kB / 0.6561 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009231/0.164, allocations: 0.5419 MB / 0.6566 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.1642, allocations: 128.7 kB / 0.6567 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.1642, allocations: 8 kB / 0.6567 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.1645, allocations: 43.94 kB / 0.6568 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.1646, allocations: 31.97 kB / 0.6568 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.1647, allocations: 11.94 kB / 0.6568 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001927/0.1649, allocations: 180.5 kB / 0.657 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1649, allocations: 3.938 kB / 0.657 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005249/0.1654, allocations: 132 kB / 0.6571 GB, free: 10.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.1655, allocations: 111.2 kB / 0.6572 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001813/0.1674, allocations: 1.003 MB / 0.6582 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1674, allocations: 0 / 0.6582 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.1679, allocations: 322.8 kB / 0.6585 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.1683, allocations: 52.41 kB / 0.6586 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1694, allocations: 0.6432 MB / 0.6592 GB, free: 8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1697, allocations: 0.7878 MB / 0.66 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1699, allocations: 39.42 kB / 0.66 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1699, allocations: 3.938 kB / 0.66 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of Templates: time 0.006848/0.1767, allocations: 5.294 MB / 0.6652 GB, free: 1.852 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)