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.001584/0.001584, allocations: 112.8 kB / 16.42 MB, free: 6.516 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.001711/0.001711, allocations: 190.7 kB / 17.35 MB, free: 5.73 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.263/2.263, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.912/0.9132, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005121/0.9184, allocations: 4.109 MB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002321/0.9207, allocations: 1.586 MB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.9209, allocations: 12 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.9224, allocations: 0.587 MB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005071/0.9229, allocations: 234.6 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.9236, allocations: 211 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007158/0.9243, allocations: 0.5482 MB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000779/0.9251, allocations: 477.8 kB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002914/0.9254, allocations: 231.7 kB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.9258, allocations: 249.1 kB / 1.097 GB, free: 464 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.928e-05/0.9259, allocations: 35.47 kB / 1.097 GB, free: 464 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.9263, allocations: 166.8 kB / 1.097 GB, free: 412 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.9264, allocations: 147.1 kB / 1.097 GB, free: 352 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.9267, allocations: 200.7 kB / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007413/0.9274, allocations: 0.5257 MB / 1.098 GB, free: 40 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.9274, allocations: 0 / 1.098 GB, free: 40 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.685e-06/0.9274, allocations: 5.922 kB / 1.098 GB, free: 36 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.9275, allocations: 0 / 1.098 GB, free: 36 kB / 0.8575 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.001516/0.929, allocations: 0.6766 MB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.929, allocations: 8.438 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008316/0.9299, allocations: 102.2 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.9304, allocations: 306.4 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.562e-05/0.9305, allocations: 62.77 kB / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.28e-05/0.9306, allocations: 34.94 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.9316, allocations: 0.4997 MB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.9316, allocations: 4.75 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.9317, allocations: 11.69 kB / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.847e-05/0.9318, allocations: 37.83 kB / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007477/0.9325, allocations: 378.8 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002707/0.9352, allocations: 2.196 MB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007645/0.936, allocations: 256.1 kB / 1.102 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.9364, allocations: 151.2 kB / 1.102 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.9364, allocations: 6.656 kB / 1.102 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.9365, allocations: 45.52 kB / 1.102 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.733e-06/0.9365, allocations: 3.938 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.00163/0.9381, allocations: 0.5719 MB / 1.103 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.9382, allocations: 54.16 kB / 1.103 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.9385, allocations: 222.8 kB / 1.103 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.9385, allocations: 31.39 kB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.9387, allocations: 210.7 kB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.9388, allocations: 69.77 kB / 1.103 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.9389, allocations: 50.58 kB / 1.103 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.9391, allocations: 334.5 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.9394, allocations: 96.73 kB / 1.104 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.9398, allocations: 180.1 kB / 1.104 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005969/0.9404, allocations: 281.9 kB / 1.104 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.9404, allocations: 1.312 kB / 1.104 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009578/0.9414, allocations: 374 kB / 1.105 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.9414, allocations: 6.844 kB / 1.105 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.9415, allocations: 2.969 kB / 1.105 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/0.942, allocations: 111.1 kB / 1.105 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.9422, allocations: 48.72 kB / 1.105 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/0.9456, allocations: 3.06 MB / 1.108 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.9459, allocations: 36.19 kB / 1.108 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.9459, allocations: 11.78 kB / 1.108 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003814/0.9463, allocations: 229.8 kB / 1.108 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003018/0.9466, allocations: 180.6 kB / 1.108 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004986/0.9471, allocations: 268.5 kB / 1.109 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/0.9471, allocations: 1.344 kB / 1.109 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007995/0.9479, allocations: 346.2 kB / 1.109 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.948, allocations: 10.75 kB / 1.109 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.948, allocations: 2 kB / 1.109 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.9483, allocations: 78.95 kB / 1.109 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.9485, allocations: 56.94 kB / 1.109 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.9506, allocations: 1.607 MB / 1.111 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.9508, allocations: 27.61 kB / 1.111 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.9509, allocations: 17.78 kB / 1.111 GB, free: 5.984 MB / 0.8731 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.0001399/0.951, allocations: 201.8 kB / 1.111 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.9511, allocations: 27.19 kB / 1.111 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.685e-05/0.9512, allocations: 29.58 kB / 1.111 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.9512, allocations: 5.297 kB / 1.111 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.9512, allocations: 1.094 kB / 1.111 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.9513, allocations: 123.4 kB / 1.111 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.9513, allocations: 1 kB / 1.111 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.9515, allocations: 16.58 kB / 1.111 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.9516, allocations: 18.45 kB / 1.111 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008076/0.9524, allocations: 367.5 kB / 1.111 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007627/0.9532, allocations: 498.4 kB / 1.112 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002246/0.9534, allocations: 96.17 kB / 1.112 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001802/0.9536, allocations: 166.7 kB / 1.112 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of Backend: time 5.91e-07/0.9536, allocations: 1.062 kB / 1.112 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002486/0.9561, allocations: 0.8443 MB / 1.113 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001295/0.9574, allocations: 1.033 MB / 1.114 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of Templates: time 0.01319/0.9706, allocations: 5.665 MB / 1.119 GB, free: 3.258 MB / 0.8731 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)