Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001654, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001918/0.001919, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.47/1.47, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 69.28 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3326, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.007458/0.3401, allocations: 4.102 MB / 0.9551 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002934/0.3431, allocations: 1.586 MB / 0.9567 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.3433, allocations: 11.94 kB / 0.9567 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.3452, allocations: 0.5876 MB / 0.9572 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006137/0.3458, allocations: 230.9 kB / 0.9575 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.3464, allocations: 219.6 kB / 0.9577 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006406/0.3471, allocations: 0.5413 MB / 0.9582 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007443/0.3478, allocations: 481.6 kB / 0.9587 GB, free: 276 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.3481, allocations: 223.3 kB / 0.9589 GB, free: 52 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004586/0.3486, allocations: 263 kB / 0.9591 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.077e-05/0.3487, allocations: 36 kB / 0.9592 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.3491, allocations: 167.7 kB / 0.9593 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.3493, allocations: 155.6 kB / 0.9595 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.3495, allocations: 191.1 kB / 0.9597 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.3501, allocations: 0.5218 MB / 0.9602 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3502, allocations: 0 / 0.9602 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3502, allocations: 0 / 0.9602 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.507e-06/0.3502, allocations: 0 / 0.9602 GB, free: 14.73 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00132/0.3515, allocations: 0.6749 MB / 0.9608 GB, free: 14 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3516, allocations: 12.03 kB / 0.9608 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007718/0.3523, allocations: 108.4 kB / 0.9609 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007634/0.3531, allocations: 312.1 kB / 0.9612 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-05/0.3532, allocations: 59.2 kB / 0.9613 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.3533, allocations: 28.38 kB / 0.9613 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008842/0.3542, allocations: 0.5009 MB / 0.9618 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3542, allocations: 7.938 kB / 0.9618 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.3542, allocations: 19.98 kB / 0.9618 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-05/0.3543, allocations: 24.98 kB / 0.9619 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006615/0.355, allocations: 383.7 kB / 0.9622 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.3578, allocations: 2.2 MB / 0.9644 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/0.3586, allocations: 262.6 kB / 0.9646 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.3589, allocations: 152.7 kB / 0.9648 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.359, allocations: 4 kB / 0.9648 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.359, allocations: 34.56 kB / 0.9648 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.359, allocations: 0 / 0.9648 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001458/0.3605, allocations: 0.5733 MB / 0.9654 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.3605, allocations: 51.41 kB / 0.9654 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.3608, allocations: 232.9 kB / 0.9656 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.3608, allocations: 33.7 kB / 0.9657 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.361, allocations: 203.7 kB / 0.9659 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/0.3611, allocations: 67 kB / 0.9659 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.12e-05/0.3612, allocations: 53.7 kB / 0.966 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3613, allocations: 334.8 kB / 0.9663 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.3616, allocations: 96.8 kB / 0.9664 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.3619, allocations: 179.5 kB / 0.9666 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005859/0.3625, allocations: 275.1 kB / 0.9668 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3625, allocations: 0 / 0.9668 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008597/0.3633, allocations: 376.3 kB / 0.9672 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3634, allocations: 10.19 kB / 0.9672 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.3634, allocations: 8.312 kB / 0.9672 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004831/0.3639, allocations: 109.6 kB / 0.9673 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.3641, allocations: 47.92 kB / 0.9674 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/0.3674, allocations: 3.045 MB / 0.9703 GB, free: 3.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.3677, allocations: 31.73 kB / 0.9704 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.3677, allocations: 12 kB / 0.9704 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004073/0.3681, allocations: 224 kB / 0.9706 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003419/0.3685, allocations: 176.6 kB / 0.9707 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004213/0.3689, allocations: 279.5 kB / 0.971 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.3689, allocations: 0 / 0.971 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007316/0.3696, allocations: 350 kB / 0.9713 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3697, allocations: 11.88 kB / 0.9714 GB, free: 2.344 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3697, allocations: 4 kB / 0.9714 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/0.37, allocations: 76.91 kB / 0.9714 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.3702, allocations: 59.91 kB / 0.9715 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.3722, allocations: 1.609 MB / 0.9731 GB, free: 468 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.3725, allocations: 27.83 kB / 0.9731 GB, free: 440 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.3725, allocations: 15.94 kB / 0.9731 GB, free: 424 kB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.3726, allocations: 201.6 kB / 0.9733 GB, free: 216 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.3727, allocations: 23.72 kB / 0.9733 GB, free: 192 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.3727, allocations: 26.19 kB / 0.9733 GB, free: 168 kB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3728, allocations: 3.938 kB / 0.9734 GB, free: 164 kB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3728, allocations: 0 / 0.9734 GB, free: 164 kB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.3728, allocations: 7.922 kB / 0.9734 GB, free: 156 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.3742, allocations: 0.8349 MB / 0.9742 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3742, allocations: 4 kB / 0.9742 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.3743, allocations: 31.92 kB / 0.9742 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003592/0.3747, allocations: 105.7 kB / 0.9743 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3747, allocations: 4 kB / 0.9743 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002966/0.3777, allocations: 3.019 MB / 0.9773 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3777, allocations: 0 / 0.9773 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007657/0.3785, allocations: 415 kB / 0.9777 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.3786, allocations: 120.7 kB / 0.9778 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.3787, allocations: 12 kB / 0.9778 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.3788, allocations: 7.984 kB / 0.9778 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.3789, allocations: 19.97 kB / 0.9778 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.3789, allocations: 8 kB / 0.9778 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000141/0.3791, allocations: 164.5 kB / 0.978 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3791, allocations: 0 / 0.978 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0005837/0.3797, allocations: 167.4 kB / 0.9781 GB, free: 10.85 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001166/0.3798, allocations: 115.2 kB / 0.9782 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.3816, allocations: 0.7646 MB / 0.979 GB, free: 9.922 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3816, allocations: 3.938 kB / 0.979 GB, free: 9.918 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007282/0.3823, allocations: 373.3 kB / 0.9794 GB, free: 9.527 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.3828, allocations: 70.88 kB / 0.9794 GB, free: 9.457 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.3838, allocations: 0.5596 MB / 0.98 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.3844, allocations: 0.8146 MB / 0.9808 GB, free: 8.02 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001648/0.3846, allocations: 54.25 kB / 0.9808 GB, free: 7.965 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.3846, allocations: 19.44 kB / 0.9808 GB, free: 7.945 MB / 0.7637 GB Notification: Performance of SimCode: time 4.71e-07/0.3846, allocations: 3.938 kB / 0.9808 GB, free: 7.941 MB / 0.7637 GB Notification: Performance of Templates: time 0.009067/0.3937, allocations: 4.668 MB / 0.9854 GB, free: 3.305 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)