Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 117.3 kB / 17.09 MB, free: 6.012 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.001203/0.001203, allocations: 195 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.288/1.288, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6755/0.6755, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 64.02 kB / 0.5583 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1332, allocations: 76.18 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003686/0.1369, allocations: 2.413 MB / 0.6351 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.1393, allocations: 1.571 MB / 0.6366 GB, free: 396 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.1395, allocations: 4 kB / 0.6366 GB, free: 392 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.1402, allocations: 175.3 kB / 0.6368 GB, free: 216 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.1406, allocations: 159.3 kB / 0.6369 GB, free: 56 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.1411, allocations: 179.5 kB / 0.6371 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.1414, allocations: 215.3 kB / 0.6373 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.1416, allocations: 129 kB / 0.6374 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1418, allocations: 95.61 kB / 0.6375 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.142, allocations: 95.7 kB / 0.6376 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.142, allocations: 12 kB / 0.6376 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.1423, allocations: 219.6 kB / 0.6379 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.666e-05/0.1424, allocations: 67.8 kB / 0.6379 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.21e-05/0.1425, allocations: 75.61 kB / 0.638 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.1429, allocations: 303.1 kB / 0.6383 GB, free: 14.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1429, allocations: 0 / 0.6383 GB, free: 14.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1429, allocations: 0 / 0.6383 GB, free: 14.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1429, allocations: 0 / 0.6383 GB, free: 14.69 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006112/0.1436, allocations: 479.1 kB / 0.6387 GB, free: 14.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.1436, allocations: 8.031 kB / 0.6387 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000719/0.1443, allocations: 88.64 kB / 0.6388 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1446, allocations: 235.9 kB / 0.6391 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1446, allocations: 12.66 kB / 0.6391 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.1446, allocations: 12.38 kB / 0.6391 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.1451, allocations: 295.5 kB / 0.6394 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1451, allocations: 7.922 kB / 0.6394 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.1451, allocations: 4 kB / 0.6394 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/0.1452, allocations: 20.23 kB / 0.6394 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.1456, allocations: 228.4 kB / 0.6396 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.1473, allocations: 1.588 MB / 0.6412 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.1477, allocations: 315.3 kB / 0.6415 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.1478, allocations: 65.67 kB / 0.6415 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1478, allocations: 3.938 kB / 0.6415 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1478, allocations: 34.56 kB / 0.6416 GB, free: 11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1478, allocations: 4 kB / 0.6416 GB, free: 11 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005331/0.1484, allocations: 240.6 kB / 0.6418 GB, free: 10.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.1484, allocations: 85.05 kB / 0.6419 GB, free: 10.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.1487, allocations: 207.4 kB / 0.6421 GB, free: 10.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1487, allocations: 25.7 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/0.1488, allocations: 155.8 kB / 0.6422 GB, free: 10.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.1489, allocations: 43.45 kB / 0.6423 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.97e-05/0.1489, allocations: 49.88 kB / 0.6423 GB, free: 10.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1491, allocations: 326.8 kB / 0.6426 GB, free: 9.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.1492, allocations: 76.81 kB / 0.6427 GB, free: 9.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.1494, allocations: 170.5 kB / 0.6429 GB, free: 9.547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.1498, allocations: 234.9 kB / 0.6431 GB, free: 9.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1498, allocations: 8 kB / 0.6431 GB, free: 9.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004956/0.1503, allocations: 265.1 kB / 0.6434 GB, free: 9.004 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1503, allocations: 12.36 kB / 0.6434 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1503, allocations: 8.125 kB / 0.6434 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1503, allocations: 11.94 kB / 0.6434 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.1506, allocations: 51.91 kB / 0.6434 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1506, allocations: 4 kB / 0.6434 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.1509, allocations: 23.97 kB / 0.6435 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.1509, allocations: 12 kB / 0.6435 GB, free: 8.883 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002035/0.1511, allocations: 168.1 kB / 0.6436 GB, free: 8.715 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001836/0.1513, allocations: 155.8 kB / 0.6438 GB, free: 8.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002799/0.1516, allocations: 215.8 kB / 0.644 GB, free: 8.266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.1516, allocations: 3.984 kB / 0.644 GB, free: 8.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004406/0.152, allocations: 265.1 kB / 0.6443 GB, free: 7.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.1521, allocations: 4 kB / 0.6443 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1521, allocations: 4 kB / 0.6443 GB, free: 7.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.1521, allocations: 4 kB / 0.6443 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.1523, allocations: 52.31 kB / 0.6443 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1523, allocations: 11.94 kB / 0.6443 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.1525, allocations: 15.98 kB / 0.6443 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1525, allocations: 8 kB / 0.6443 GB, free: 7.898 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.1527, allocations: 204.1 kB / 0.6445 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.1527, allocations: 15.84 kB / 0.6446 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.153, allocations: 143 kB / 0.6447 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.153, allocations: 7.938 kB / 0.6447 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.153, allocations: 4 kB / 0.6447 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.153, allocations: 0 / 0.6447 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008672/0.1539, allocations: 0.7235 MB / 0.6454 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1539, allocations: 4 kB / 0.6454 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.154, allocations: 19.98 kB / 0.6454 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.154, allocations: 11.92 kB / 0.6454 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.154, allocations: 4 kB / 0.6454 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.154, allocations: 4.547 kB / 0.6455 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.154, allocations: 4 kB / 0.6455 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.1544, allocations: 378.5 kB / 0.6458 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.77e-05/0.1545, allocations: 112.8 kB / 0.6459 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.1545, allocations: 4 kB / 0.6459 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.1547, allocations: 15.98 kB / 0.6459 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.1547, allocations: 11.88 kB / 0.646 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.1548, allocations: 12 kB / 0.646 GB, free: 6.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.1549, allocations: 168.7 kB / 0.6461 GB, free: 5.906 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1549, allocations: 0 / 0.6461 GB, free: 5.906 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004994/0.1555, allocations: 68 kB / 0.6462 GB, free: 5.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001361/0.1556, allocations: 103.2 kB / 0.6463 GB, free: 5.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005313/0.1561, allocations: 279.7 kB / 0.6466 GB, free: 5.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1561, allocations: 0 / 0.6466 GB, free: 5.457 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.1562, allocations: 65.7 kB / 0.6466 GB, free: 5.395 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.1567, allocations: 40.2 kB / 0.6467 GB, free: 5.359 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/0.1574, allocations: 454.4 kB / 0.6471 GB, free: 4.859 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.1578, allocations: 0.7401 MB / 0.6478 GB, free: 4.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.1579, allocations: 15.44 kB / 0.6478 GB, free: 4.074 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1579, allocations: 0 / 0.6478 GB, free: 4.074 MB / 494.1 MB Notification: Performance of Templates: time 0.004165/0.162, allocations: 2.34 MB / 0.6501 GB, free: 1.734 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)