Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 109.4 kB / 16.52 MB, free: 6.703 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.001472/0.001472, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7133/0.7133, allocations: 115.3 MB / 406.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 493.6 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3261, allocations: 76.17 MB / 0.5564 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005371/0.3315, allocations: 4.363 MB / 0.5606 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.3343, allocations: 1.861 MB / 0.5625 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003107/0.3346, allocations: 11.59 kB / 0.5625 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.3361, allocations: 0.5573 MB / 0.563 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006913/0.3368, allocations: 243.9 kB / 0.5632 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007283/0.3376, allocations: 238.7 kB / 0.5635 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009708/0.3386, allocations: 0.8316 MB / 0.5643 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/0.3391, allocations: 319.1 kB / 0.5646 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.3394, allocations: 211.2 kB / 0.5648 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005012/0.3399, allocations: 278.5 kB / 0.5651 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.108e-05/0.34, allocations: 30.34 kB / 0.5651 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000643/0.3407, allocations: 309.8 kB / 0.5654 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.3408, allocations: 146.8 kB / 0.5655 GB, free: 30 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.3411, allocations: 202.6 kB / 0.5657 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.3418, allocations: 474.4 kB / 0.5662 GB, free: 29.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3418, allocations: 0.7031 kB / 0.5662 GB, free: 29.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.3418, allocations: 0.75 kB / 0.5662 GB, free: 29.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.3418, allocations: 1.219 kB / 0.5662 GB, free: 29.76 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001298/0.3431, allocations: 0.7282 MB / 0.5669 GB, free: 29.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3432, allocations: 12.5 kB / 0.5669 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.3442, allocations: 150 kB / 0.567 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.3447, allocations: 329.1 kB / 0.5673 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.3447, allocations: 28.7 kB / 0.5674 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.3448, allocations: 29.88 kB / 0.5674 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008352/0.3456, allocations: 0.5341 MB / 0.5679 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.3456, allocations: 1.156 kB / 0.5679 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.3457, allocations: 20.25 kB / 0.5679 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/0.3458, allocations: 29.69 kB / 0.568 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.3464, allocations: 392.9 kB / 0.5683 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.3487, allocations: 2.41 MB / 0.5707 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.3493, allocations: 261.4 kB / 0.5709 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.3494, allocations: 112.4 kB / 0.5711 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.3495, allocations: 2.375 kB / 0.5711 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.3495, allocations: 32.69 kB / 0.5711 GB, free: 26.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.883e-06/0.3495, allocations: 2.875 kB / 0.5711 GB, free: 26.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002202/0.3517, allocations: 1.123 MB / 0.5722 GB, free: 25.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.3518, allocations: 57.28 kB / 0.5722 GB, free: 25.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.3521, allocations: 307.4 kB / 0.5725 GB, free: 25.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.3522, allocations: 31.8 kB / 0.5726 GB, free: 25.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3523, allocations: 226.9 kB / 0.5728 GB, free: 24.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/0.3523, allocations: 83.69 kB / 0.5729 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.3525, allocations: 61.95 kB / 0.5729 GB, free: 24.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.3525, allocations: 338.7 kB / 0.5732 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.3527, allocations: 103.9 kB / 0.5733 GB, free: 24.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.353, allocations: 190.2 kB / 0.5735 GB, free: 24.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.3534, allocations: 319.1 kB / 0.5738 GB, free: 24.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3534, allocations: 0 / 0.5738 GB, free: 24.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007985/0.3542, allocations: 445.2 kB / 0.5743 GB, free: 23.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3542, allocations: 5.875 kB / 0.5743 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3542, allocations: 6.75 kB / 0.5743 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/0.3546, allocations: 103.4 kB / 0.5744 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.3549, allocations: 61.5 kB / 0.5744 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.3573, allocations: 4.074 MB / 0.5784 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.3576, allocations: 8.781 kB / 0.5784 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.3577, allocations: 16.53 kB / 0.5784 GB, free: 19.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002387/0.3579, allocations: 185.2 kB / 0.5786 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.358, allocations: 31.55 kB / 0.5786 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.601e-05/0.3581, allocations: 38.28 kB / 0.5787 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3581, allocations: 3.25 kB / 0.5787 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.3581, allocations: 1.875 kB / 0.5787 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3581, allocations: 2.047 kB / 0.5787 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.3586, allocations: 401.5 kB / 0.5791 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3586, allocations: 0.5938 kB / 0.5791 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.3588, allocations: 34.98 kB / 0.5791 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003087/0.3591, allocations: 98.19 kB / 0.5792 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.3591, allocations: 1.375 kB / 0.5792 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.3613, allocations: 4.066 MB / 0.5832 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3613, allocations: 2.594 kB / 0.5832 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008/0.3621, allocations: 0.5571 MB / 0.5837 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.3622, allocations: 123 kB / 0.5838 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.3623, allocations: 5.375 kB / 0.5838 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.3625, allocations: 13.2 kB / 0.5838 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.3626, allocations: 21.98 kB / 0.5839 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3626, allocations: 4.844 kB / 0.5839 GB, free: 14.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.3628, allocations: 212.7 kB / 0.5841 GB, free: 14.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3628, allocations: 0 / 0.5841 GB, free: 14.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005345/0.3633, allocations: 95.5 kB / 0.5842 GB, free: 14.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (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.0001102/0.3635, allocations: 104.1 kB / 0.5843 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000803/0.3643, allocations: 0.6166 MB / 0.5849 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3643, allocations: 0 / 0.5849 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.3647, allocations: 483.8 kB / 0.5853 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.3653, allocations: 81.73 kB / 0.5854 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.3665, allocations: 0.9073 MB / 0.5863 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.3668, allocations: 0.8314 MB / 0.5871 GB, free: 12.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/0.3669, allocations: 24.66 kB / 0.5871 GB, free: 12.53 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3669, allocations: 0 / 0.5871 GB, free: 12.53 MB / 446.1 MB Notification: Performance of Templates: time 0.01165/0.3786, allocations: 8.649 MB / 0.5956 GB, free: 9.375 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)