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.001244/0.001244, allocations: 105.2 kB / 16.52 MB, free: 6.66 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.001217/0.001218, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.711/0.711, allocations: 115.3 MB / 406.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 59.91 kB / 493.6 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3028, allocations: 76.16 MB / 0.5564 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003449/0.3063, allocations: 2.465 MB / 0.5588 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.3081, allocations: 1.422 MB / 0.5602 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.203e-05/0.3082, allocations: 8.406 kB / 0.5602 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.3088, allocations: 156.4 kB / 0.5603 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.309, allocations: 123.2 kB / 0.5605 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.3094, allocations: 163 kB / 0.5606 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.3097, allocations: 320 kB / 0.5609 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.31, allocations: 125.8 kB / 0.561 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.3101, allocations: 81.36 kB / 0.5611 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.3103, allocations: 105 kB / 0.5612 GB, free: 33.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.3104, allocations: 10.22 kB / 0.5612 GB, free: 33.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.3107, allocations: 215.2 kB / 0.5614 GB, free: 33.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.3108, allocations: 59.48 kB / 0.5615 GB, free: 33.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.3109, allocations: 79.36 kB / 0.5616 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.3111, allocations: 223.1 kB / 0.5618 GB, free: 33.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3111, allocations: 0 / 0.5618 GB, free: 33.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.3111, allocations: 0 / 0.5618 GB, free: 33.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.3112, allocations: 0 / 0.5618 GB, free: 33.06 MB / 446.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.000569/0.3117, allocations: 471.4 kB / 0.5622 GB, free: 32.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.3118, allocations: 13.89 kB / 0.5622 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005229/0.3123, allocations: 63.67 kB / 0.5623 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.3125, allocations: 227.6 kB / 0.5625 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3125, allocations: 10.28 kB / 0.5625 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.3126, allocations: 12.97 kB / 0.5625 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.3129, allocations: 283 kB / 0.5628 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.313, allocations: 1.875 kB / 0.5628 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.313, allocations: 7 kB / 0.5628 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.489e-05/0.313, allocations: 24.3 kB / 0.5628 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.3133, allocations: 208.6 kB / 0.563 GB, free: 32.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.3147, allocations: 1.58 MB / 0.5646 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.315, allocations: 319.5 kB / 0.5649 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.092e-05/0.3151, allocations: 65.42 kB / 0.5649 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.3151, allocations: 3 kB / 0.5649 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.3151, allocations: 36.38 kB / 0.565 GB, free: 30.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.3151, allocations: 4.969 kB / 0.565 GB, free: 30.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004943/0.3156, allocations: 247.1 kB / 0.5652 GB, free: 30.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.3157, allocations: 79.33 kB / 0.5653 GB, free: 30.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.3158, allocations: 197.6 kB / 0.5655 GB, free: 30.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.3159, allocations: 26.36 kB / 0.5655 GB, free: 30.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.3159, allocations: 158.4 kB / 0.5657 GB, free: 29.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.316, allocations: 32.27 kB / 0.5657 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.316, allocations: 54.75 kB / 0.5657 GB, free: 29.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.375e-05/0.3161, allocations: 326.5 kB / 0.5661 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.3162, allocations: 72.69 kB / 0.5661 GB, free: 29.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.3163, allocations: 160.4 kB / 0.5663 GB, free: 29.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.3166, allocations: 231.8 kB / 0.5665 GB, free: 29.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3166, allocations: 1.844 kB / 0.5665 GB, free: 29.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003604/0.3169, allocations: 263.2 kB / 0.5668 GB, free: 29.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.317, allocations: 7.234 kB / 0.5668 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.317, allocations: 2.094 kB / 0.5668 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.317, allocations: 10.09 kB / 0.5668 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.3172, allocations: 53.94 kB / 0.5668 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3172, allocations: 4.688 kB / 0.5668 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.3174, allocations: 16.5 kB / 0.5668 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.3174, allocations: 9.375 kB / 0.5669 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000136/0.3176, allocations: 164 kB / 0.567 GB, free: 28.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001074/0.3177, allocations: 149.1 kB / 0.5672 GB, free: 28.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001891/0.3179, allocations: 218 kB / 0.5674 GB, free: 28.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.3179, allocations: 1.094 kB / 0.5674 GB, free: 28.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003098/0.3182, allocations: 241.4 kB / 0.5676 GB, free: 28.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.3182, allocations: 6.5 kB / 0.5676 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.3182, allocations: 4.062 kB / 0.5676 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/0.3182, allocations: 4.922 kB / 0.5676 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.3184, allocations: 48.12 kB / 0.5677 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3184, allocations: 14.11 kB / 0.5677 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.3186, allocations: 16.77 kB / 0.5677 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.3186, allocations: 8.828 kB / 0.5677 GB, free: 28.51 MB / 446.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 5.904e-05/0.3186, allocations: 194.5 kB / 0.5679 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.3187, allocations: 16.92 kB / 0.5679 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.3189, allocations: 148.9 kB / 0.568 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3189, allocations: 4.969 kB / 0.568 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.319, allocations: 6.641 kB / 0.568 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.319, allocations: 1.281 kB / 0.568 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000784/0.3198, allocations: 0.7169 MB / 0.5687 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3198, allocations: 2.438 kB / 0.5687 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.3199, allocations: 28.45 kB / 0.5688 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.3199, allocations: 7.906 kB / 0.5688 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3199, allocations: 3.375 kB / 0.5688 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.3199, allocations: 4.266 kB / 0.5688 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3199, allocations: 8.781 kB / 0.5688 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.3202, allocations: 385.5 kB / 0.5692 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.3202, allocations: 105.4 kB / 0.5693 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.3203, allocations: 8.969 kB / 0.5693 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.3205, allocations: 12.62 kB / 0.5693 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.3205, allocations: 17.45 kB / 0.5693 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3205, allocations: 6.141 kB / 0.5693 GB, free: 27.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.3206, allocations: 149.1 kB / 0.5695 GB, free: 27.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3206, allocations: 0.6562 kB / 0.5695 GB, free: 27.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004896/0.3211, allocations: 76.16 kB / 0.5695 GB, free: 27.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.706e-05/0.3212, allocations: 105.9 kB / 0.5696 GB, free: 27.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003755/0.3216, allocations: 262.8 kB / 0.5699 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3216, allocations: 1.188 kB / 0.5699 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.3217, allocations: 62.62 kB / 0.5699 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.3222, allocations: 32 kB / 0.57 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.3228, allocations: 0.5162 MB / 0.5705 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.3229, allocations: 0.7361 MB / 0.5712 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.323, allocations: 19.47 kB / 0.5712 GB, free: 25.79 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.323, allocations: 5.062 kB / 0.5712 GB, free: 25.79 MB / 446.1 MB Notification: Performance of Templates: time 0.003783/0.3268, allocations: 2.213 MB / 0.5734 GB, free: 25.61 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)