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.001408/0.001408, allocations: 101.3 kB / 16.37 MB, free: 6.469 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.001548/0.001548, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.18 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.236/2.236, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.86 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2554, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006479/0.2619, allocations: 4.097 MB / 0.9551 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002689/0.2646, allocations: 1.59 MB / 0.9567 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.2649, allocations: 7.938 kB / 0.9567 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.2666, allocations: 0.5759 MB / 0.9573 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005831/0.2672, allocations: 246.8 kB / 0.9575 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006468/0.2679, allocations: 219.5 kB / 0.9577 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006611/0.2686, allocations: 0.5413 MB / 0.9582 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007584/0.2693, allocations: 477.7 kB / 0.9587 GB, free: 296 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.2696, allocations: 227.3 kB / 0.9589 GB, free: 68 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004373/0.2701, allocations: 259 kB / 0.9591 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.222e-05/0.2701, allocations: 39.94 kB / 0.9592 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.2705, allocations: 159.7 kB / 0.9593 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.2706, allocations: 151.7 kB / 0.9595 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.2708, allocations: 195.1 kB / 0.9597 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.2714, allocations: 0.5257 MB / 0.9602 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2714, allocations: 0 / 0.9602 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2714, allocations: 0 / 0.9602 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.2714, allocations: 0 / 0.9602 GB, free: 14.75 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.001273/0.2727, allocations: 0.6788 MB / 0.9608 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.2728, allocations: 8.031 kB / 0.9609 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007456/0.2735, allocations: 112.4 kB / 0.961 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.274, allocations: 304.1 kB / 0.9612 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/0.2741, allocations: 55.27 kB / 0.9613 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.2741, allocations: 32.36 kB / 0.9613 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008395/0.275, allocations: 0.5048 MB / 0.9618 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.275, allocations: 3.938 kB / 0.9618 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.2751, allocations: 12 kB / 0.9618 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.052e-05/0.2751, allocations: 36.97 kB / 0.9619 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000694/0.2758, allocations: 375.7 kB / 0.9622 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.2785, allocations: 2.204 MB / 0.9644 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.2792, allocations: 254.7 kB / 0.9646 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.2796, allocations: 156.8 kB / 0.9648 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.2797, allocations: 0 / 0.9648 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.2797, allocations: 38.5 kB / 0.9648 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 4.699e-06/0.2797, allocations: 4 kB / 0.9648 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001534/0.2813, allocations: 0.5655 MB / 0.9654 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.2813, allocations: 55.41 kB / 0.9654 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.2816, allocations: 232.9 kB / 0.9656 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.2816, allocations: 29.7 kB / 0.9657 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.2818, allocations: 207.7 kB / 0.9659 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.084e-05/0.2818, allocations: 71 kB / 0.9659 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.34e-05/0.2819, allocations: 49.7 kB / 0.966 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.282, allocations: 330.8 kB / 0.9663 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.2823, allocations: 92.8 kB / 0.9664 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.2825, allocations: 187.6 kB / 0.9666 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.283, allocations: 271.1 kB / 0.9668 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.283, allocations: 0 / 0.9668 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008439/0.2839, allocations: 381 kB / 0.9672 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2839, allocations: 8 kB / 0.9672 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2839, allocations: 4 kB / 0.9672 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/0.2844, allocations: 117.5 kB / 0.9673 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.2846, allocations: 47.91 kB / 0.9674 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/0.2882, allocations: 3.05 MB / 0.9703 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.2885, allocations: 31.73 kB / 0.9704 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.2885, allocations: 8 kB / 0.9704 GB, free: 3.465 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003419/0.2889, allocations: 220.1 kB / 0.9706 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002612/0.2891, allocations: 180.5 kB / 0.9708 GB, free: 3.031 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004692/0.2896, allocations: 273.2 kB / 0.971 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.646e-06/0.2896, allocations: 4 kB / 0.971 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007616/0.2904, allocations: 348.1 kB / 0.9714 GB, free: 2.379 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2904, allocations: 10.12 kB / 0.9714 GB, free: 2.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.2904, allocations: 7.938 kB / 0.9714 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/0.2907, allocations: 84.92 kB / 0.9715 GB, free: 2.277 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.291, allocations: 51.91 kB / 0.9715 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.2929, allocations: 1.621 MB / 0.9731 GB, free: 480 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.2932, allocations: 27.83 kB / 0.9731 GB, free: 452 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.2932, allocations: 11.94 kB / 0.9731 GB, free: 440 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.0001658/0.2934, allocations: 196.3 kB / 0.9733 GB, free: 236 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.874e-05/0.2935, allocations: 23.72 kB / 0.9733 GB, free: 212 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/0.2936, allocations: 30.17 kB / 0.9734 GB, free: 184 kB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2936, allocations: 4 kB / 0.9734 GB, free: 180 kB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2936, allocations: 0 / 0.9734 GB, free: 180 kB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2936, allocations: 3.938 kB / 0.9734 GB, free: 176 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.295, allocations: 0.8367 MB / 0.9742 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.295, allocations: 4.141 kB / 0.9742 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.2952, allocations: 27.92 kB / 0.9742 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003827/0.2956, allocations: 113.7 kB / 0.9743 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.2956, allocations: 4 kB / 0.9743 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/0.2985, allocations: 3.011 MB / 0.9773 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2985, allocations: 0 / 0.9773 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/0.2993, allocations: 415.1 kB / 0.9777 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.2995, allocations: 132.7 kB / 0.9778 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.2995, allocations: 0 / 0.9778 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.2997, allocations: 8 kB / 0.9778 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.2998, allocations: 19.97 kB / 0.9778 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.2998, allocations: 8 kB / 0.9778 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0001576/0.2999, allocations: 160.5 kB / 0.978 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2999, allocations: 0 / 0.978 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006565/0.3006, allocations: 171.4 kB / 0.9781 GB, free: 10.87 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.0001369/0.3008, allocations: 111.2 kB / 0.9783 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001868/0.3026, allocations: 0.7646 MB / 0.979 GB, free: 9.945 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3027, allocations: 4.125 kB / 0.979 GB, free: 9.941 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007433/0.3034, allocations: 375.8 kB / 0.9794 GB, free: 9.551 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.3038, allocations: 68.88 kB / 0.9794 GB, free: 9.484 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/0.3048, allocations: 0.5712 MB / 0.98 GB, free: 8.879 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.3052, allocations: 0.8068 MB / 0.9808 GB, free: 8.043 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001786/0.3054, allocations: 58.25 kB / 0.9808 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.3055, allocations: 23.42 kB / 0.9809 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of SimCode: time 3.41e-07/0.3055, allocations: 0 / 0.9809 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of Templates: time 0.008696/0.3142, allocations: 4.663 MB / 0.9854 GB, free: 3.328 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 gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)