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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001243/0.001242, allocations: 108 kB / 15.61 MB, free: 128 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.001519/0.001519, allocations: 198.1 kB / 16.53 MB, free: 6.672 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.631/2.631, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.773/0.7744, allocations: 140.4 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005587/0.7801, allocations: 4.097 MB / 0.9536 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.7825, allocations: 1.58 MB / 0.9551 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.7828, allocations: 12.53 kB / 0.9551 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.7842, allocations: 0.5852 MB / 0.9557 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004269/0.7846, allocations: 234.3 kB / 0.9559 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.7851, allocations: 219.5 kB / 0.9561 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.7856, allocations: 0.5441 MB / 0.9567 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006067/0.7862, allocations: 487.1 kB / 0.9571 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.7864, allocations: 229.1 kB / 0.9574 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003532/0.7868, allocations: 250 kB / 0.9576 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.536e-05/0.7869, allocations: 35.75 kB / 0.9576 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.7872, allocations: 163.3 kB / 0.9578 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.7873, allocations: 150.2 kB / 0.9579 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.7875, allocations: 195.6 kB / 0.9581 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.788, allocations: 0.5137 MB / 0.9586 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.788, allocations: 1.062 kB / 0.9586 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.362e-06/0.788, allocations: 0 / 0.9586 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.788, allocations: 0 / 0.9586 GB, free: 2.438 MB / 0.7169 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.001114/0.7891, allocations: 0.6881 MB / 0.9593 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.7892, allocations: 9.281 kB / 0.9593 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007242/0.7899, allocations: 111.9 kB / 0.9594 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.7902, allocations: 296.5 kB / 0.9597 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.435e-05/0.7903, allocations: 55.38 kB / 0.9597 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.7904, allocations: 38.55 kB / 0.9598 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000722/0.7911, allocations: 0.4977 MB / 0.9603 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.7911, allocations: 5.031 kB / 0.9603 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.7912, allocations: 15.27 kB / 0.9603 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.985e-05/0.7912, allocations: 32.2 kB / 0.9603 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006244/0.7919, allocations: 381.2 kB / 0.9607 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.794, allocations: 2.211 MB / 0.9628 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000691/0.7947, allocations: 257.4 kB / 0.9631 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/0.7951, allocations: 150.2 kB / 0.9632 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.7951, allocations: 2.469 kB / 0.9632 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.7952, allocations: 35.66 kB / 0.9633 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 3.577e-06/0.7952, allocations: 5.047 kB / 0.9633 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001556/0.7968, allocations: 0.5708 MB / 0.9638 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.7968, allocations: 53.38 kB / 0.9639 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.797, allocations: 223.4 kB / 0.9641 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.7971, allocations: 32.11 kB / 0.9641 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.7973, allocations: 213.5 kB / 0.9643 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.7973, allocations: 68.31 kB / 0.9644 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.7974, allocations: 54.39 kB / 0.9644 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7976, allocations: 339.1 kB / 0.9648 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.7978, allocations: 96.67 kB / 0.9648 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.7981, allocations: 190.9 kB / 0.965 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.7986, allocations: 270.8 kB / 0.9653 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7986, allocations: 1.094 kB / 0.9653 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008839/0.7995, allocations: 382.8 kB / 0.9657 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.7995, allocations: 10.03 kB / 0.9657 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.7995, allocations: 2.219 kB / 0.9657 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/0.8001, allocations: 109.5 kB / 0.9658 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.8003, allocations: 50.12 kB / 0.9658 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/0.8036, allocations: 3.038 MB / 0.9688 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.8039, allocations: 39.3 kB / 0.9688 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.8039, allocations: 12.28 kB / 0.9688 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003755/0.8043, allocations: 217.8 kB / 0.969 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002644/0.8046, allocations: 178.9 kB / 0.9692 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004609/0.805, allocations: 269.6 kB / 0.9695 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-06/0.805, allocations: 0 / 0.9695 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007792/0.8058, allocations: 347.5 kB / 0.9698 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.8058, allocations: 18.12 kB / 0.9698 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.8059, allocations: 6.156 kB / 0.9698 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00032/0.8062, allocations: 84.06 kB / 0.9699 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.8064, allocations: 56.97 kB / 0.97 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.8086, allocations: 1.604 MB / 0.9715 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.8089, allocations: 27.8 kB / 0.9716 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.8089, allocations: 15.84 kB / 0.9716 GB, free: 7.203 MB / 0.7325 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.0001763/0.8091, allocations: 197.9 kB / 0.9718 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.8092, allocations: 26.2 kB / 0.9718 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.8093, allocations: 28.03 kB / 0.9718 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.8093, allocations: 2.531 kB / 0.9718 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8093, allocations: 4 kB / 0.9718 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.8093, allocations: 7.922 kB / 0.9718 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.8109, allocations: 0.8287 MB / 0.9726 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8109, allocations: 1.094 kB / 0.9726 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.811, allocations: 30.44 kB / 0.9727 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003881/0.8114, allocations: 108.9 kB / 0.9728 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.8115, allocations: 7.438 kB / 0.9728 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003068/0.8145, allocations: 3.016 MB / 0.9757 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.8146, allocations: 1.062 kB / 0.9757 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008189/0.8154, allocations: 415.7 kB / 0.9761 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.8155, allocations: 125.7 kB / 0.9762 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.8156, allocations: 6.469 kB / 0.9762 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.8157, allocations: 13.52 kB / 0.9763 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.8159, allocations: 23.22 kB / 0.9763 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.8159, allocations: 5.688 kB / 0.9763 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001578/0.816, allocations: 158.8 kB / 0.9764 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.01e-07/0.816, allocations: 1.062 kB / 0.9764 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007423/0.8168, allocations: 168.8 kB / 0.9766 GB, free: 2.59 MB / 0.7325 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.0001478/0.8169, allocations: 112.5 kB / 0.9767 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.819, allocations: 0.7759 MB / 0.9775 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.819, allocations: 5.406 kB / 0.9775 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008124/0.8198, allocations: 367.5 kB / 0.9778 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.8203, allocations: 62.91 kB / 0.9779 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.8214, allocations: 0.5774 MB / 0.9784 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.8219, allocations: 0.8092 MB / 0.9792 GB, free: 472 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001995/0.8221, allocations: 59.2 kB / 0.9793 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.8222, allocations: 19.34 kB / 0.9793 GB, free: 436 kB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.8222, allocations: 1.125 kB / 0.9793 GB, free: 436 kB / 0.7325 GB Notification: Performance of Templates: time 0.009232/0.8314, allocations: 4.663 MB / 0.9839 GB, free: 13.14 MB / 0.7481 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 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)