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.001306/0.001306, allocations: 96.5 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 174.9 kB / 16.56 MB, free: 6.391 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.494/1.494, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6952/0.6952, allocations: 113.8 MB / 405.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 8 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1923, allocations: 77.16 MB / 0.5569 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002945/0.1953, allocations: 2.015 MB / 0.5588 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1975, allocations: 1.29 MB / 0.5601 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.395e-05/0.1976, allocations: 0 / 0.5601 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.1978, allocations: 27.84 kB / 0.5601 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.1981, allocations: 87.66 kB / 0.5602 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.1985, allocations: 143.6 kB / 0.5603 GB, free: 8.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.1987, allocations: 123.7 kB / 0.5604 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000468/0.1992, allocations: 234 kB / 0.5607 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1993, allocations: 55.83 kB / 0.5607 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.1995, allocations: 67.75 kB / 0.5608 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1996, allocations: 4 kB / 0.5608 GB, free: 7.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.1998, allocations: 107.8 kB / 0.5609 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.1998, allocations: 55.86 kB / 0.5609 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.1999, allocations: 53.58 kB / 0.561 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.2001, allocations: 199.8 kB / 0.5612 GB, free: 7.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.2001, allocations: 0 / 0.5612 GB, free: 7.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2001, allocations: 4 kB / 0.5612 GB, free: 7.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.2002, allocations: 0 / 0.5612 GB, free: 7.125 MB / 430.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.000585/0.2007, allocations: 443 kB / 0.5616 GB, free: 6.641 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2008, allocations: 11.97 kB / 0.5616 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005184/0.2013, allocations: 75.73 kB / 0.5617 GB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.2016, allocations: 222.8 kB / 0.5619 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2016, allocations: 8.281 kB / 0.5619 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.2017, allocations: 8 kB / 0.5619 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.2021, allocations: 283.6 kB / 0.5622 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.2021, allocations: 7.953 kB / 0.5622 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.2022, allocations: 3.984 kB / 0.5622 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/0.2022, allocations: 20.17 kB / 0.5622 GB, free: 5.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.2025, allocations: 200.5 kB / 0.5624 GB, free: 5.738 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.2042, allocations: 1.591 MB / 0.564 GB, free: 4.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.2046, allocations: 315.3 kB / 0.5643 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.2046, allocations: 4 kB / 0.5643 GB, free: 3.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.2046, allocations: 34.56 kB / 0.5643 GB, free: 3.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.2046, allocations: 0 / 0.5643 GB, free: 3.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005258/0.2052, allocations: 236.7 kB / 0.5645 GB, free: 3.363 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.2052, allocations: 85.09 kB / 0.5646 GB, free: 3.262 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.2054, allocations: 199.4 kB / 0.5648 GB, free: 3.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.2055, allocations: 33.89 kB / 0.5648 GB, free: 3.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.2055, allocations: 147.7 kB / 0.565 GB, free: 2.871 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.2056, allocations: 31.55 kB / 0.565 GB, free: 2.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.2056, allocations: 8 kB / 0.565 GB, free: 2.832 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2057, allocations: 334.7 kB / 0.5653 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.656e-05/0.2058, allocations: 67.89 kB / 0.5654 GB, free: 2.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.206, allocations: 158.5 kB / 0.5656 GB, free: 2.238 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.2062, allocations: 87.97 kB / 0.5656 GB, free: 2.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2062, allocations: 0 / 0.5656 GB, free: 2.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003622/0.2065, allocations: 257.4 kB / 0.5659 GB, free: 1.895 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004813/0.207, allocations: 1.134 MB / 0.567 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.207, allocations: 7.984 kB / 0.567 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2071, allocations: 4 kB / 0.567 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.2073, allocations: 47.91 kB / 0.567 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2073, allocations: 11.94 kB / 0.5671 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.2075, allocations: 23.88 kB / 0.5671 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.2075, allocations: 8 kB / 0.5671 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.2075, allocations: 4 kB / 0.5671 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002788/0.2078, allocations: 199.2 kB / 0.5673 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2078, allocations: 8.031 kB / 0.5673 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.2078, allocations: 4 kB / 0.5673 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.208, allocations: 47.91 kB / 0.5673 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.208, allocations: 4.469 kB / 0.5673 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.841e-05/0.2081, allocations: 12 kB / 0.5674 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.2081, allocations: 11.98 kB / 0.5674 GB, free: 296 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.2083, allocations: 217 kB / 0.5676 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.2083, allocations: 19.89 kB / 0.5676 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.2086, allocations: 155 kB / 0.5677 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2086, allocations: 4 kB / 0.5677 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.2086, allocations: 11.92 kB / 0.5678 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2086, allocations: 0 / 0.5678 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009219/0.2096, allocations: 0.7195 MB / 0.5685 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.2096, allocations: 7.938 kB / 0.5685 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.2097, allocations: 27.92 kB / 0.5685 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2097, allocations: 4 kB / 0.5685 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.2097, allocations: 0 / 0.5685 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.2097, allocations: 7.984 kB / 0.5685 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2097, allocations: 4.344 kB / 0.5685 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.2101, allocations: 499.3 kB / 0.569 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.2102, allocations: 108.9 kB / 0.5691 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.2103, allocations: 4 kB / 0.5691 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.2104, allocations: 8 kB / 0.5691 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.2105, allocations: 19.88 kB / 0.5691 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.2105, allocations: 8 kB / 0.5691 GB, free: 14.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.2106, allocations: 149.1 kB / 0.5693 GB, free: 14.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2106, allocations: 0 / 0.5693 GB, free: 14.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005063/0.2111, allocations: 71.98 kB / 0.5693 GB, free: 14.05 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001632/0.2113, allocations: 111.8 kB / 0.5694 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.2117, allocations: 259.9 kB / 0.5697 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2117, allocations: 0 / 0.5697 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.612e-05/0.2118, allocations: 61.39 kB / 0.5698 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.2121, allocations: 30.2 kB / 0.5698 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006952/0.2128, allocations: 0.4901 MB / 0.5703 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.2131, allocations: 0.7401 MB / 0.571 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001806/0.2133, allocations: 77.41 kB / 0.5711 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.2134, allocations: 15.44 kB / 0.5711 GB, free: 12.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2134, allocations: 0 / 0.5711 GB, free: 12.18 MB / 446.1 MB Notification: Performance of Templates: time 0.004214/0.2176, allocations: 1.626 MB / 0.5727 GB, free: 10.57 MB / 446.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)