Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001151/0.001151, allocations: 102.8 kB / 16.4 MB, free: 6.465 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.001061/0.001061, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002138, allocations: 284.8 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9472/0.9472, allocations: 169.3 MB / 0.499 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 99.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5134, allocations: 86.98 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006041/0.5195, allocations: 4.087 MB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003022/0.5226, allocations: 1.589 MB / 0.7726 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.5229, allocations: 8 kB / 0.7726 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.5246, allocations: 0.5876 MB / 0.7732 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005943/0.5252, allocations: 234.8 kB / 0.7734 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005929/0.5258, allocations: 213.7 kB / 0.7736 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006213/0.5264, allocations: 0.5452 MB / 0.7741 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007266/0.5272, allocations: 465.8 kB / 0.7746 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.5275, allocations: 235.3 kB / 0.7748 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.5279, allocations: 247 kB / 0.775 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.528, allocations: 36 kB / 0.7751 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.5284, allocations: 171.7 kB / 0.7752 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.5285, allocations: 151.6 kB / 0.7754 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.5287, allocations: 191.1 kB / 0.7755 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006161/0.5294, allocations: 0.5281 MB / 0.7761 GB, free: 10.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5294, allocations: 0 / 0.7761 GB, free: 10.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5294, allocations: 3.938 kB / 0.7761 GB, free: 10.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.5294, allocations: 0 / 0.7761 GB, free: 10.68 MB / 0.545 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.001304/0.5307, allocations: 0.6826 MB / 0.7767 GB, free: 9.941 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.5308, allocations: 8.031 kB / 0.7767 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007325/0.5315, allocations: 108.4 kB / 0.7768 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.532, allocations: 307.7 kB / 0.7771 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.404e-05/0.5321, allocations: 55.25 kB / 0.7772 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.5321, allocations: 36.36 kB / 0.7772 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008667/0.533, allocations: 0.5087 MB / 0.7777 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.533, allocations: 4 kB / 0.7777 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.5331, allocations: 12 kB / 0.7777 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.705e-05/0.5331, allocations: 32.98 kB / 0.7778 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007008/0.5338, allocations: 375.7 kB / 0.7781 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.5363, allocations: 2.196 MB / 0.7803 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007122/0.5371, allocations: 262.6 kB / 0.7805 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.5374, allocations: 151.3 kB / 0.7807 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.5375, allocations: 8 kB / 0.7807 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.5375, allocations: 38.55 kB / 0.7807 GB, free: 5.555 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/0.5375, allocations: 0 / 0.7807 GB, free: 5.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001567/0.5391, allocations: 0.5673 MB / 0.7813 GB, free: 4.938 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.5391, allocations: 55.41 kB / 0.7813 GB, free: 4.871 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.5394, allocations: 225 kB / 0.7815 GB, free: 4.648 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.5394, allocations: 33.7 kB / 0.7816 GB, free: 4.609 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.5396, allocations: 211.6 kB / 0.7818 GB, free: 4.398 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.5396, allocations: 67.11 kB / 0.7818 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/0.5397, allocations: 53.61 kB / 0.7819 GB, free: 4.273 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5399, allocations: 334.8 kB / 0.7822 GB, free: 3.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.5401, allocations: 92.8 kB / 0.7823 GB, free: 3.844 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.5404, allocations: 188.8 kB / 0.7825 GB, free: 3.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.5409, allocations: 279.5 kB / 0.7827 GB, free: 3.316 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5409, allocations: 0 / 0.7827 GB, free: 3.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008476/0.5417, allocations: 374.9 kB / 0.7831 GB, free: 2.938 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5418, allocations: 4 kB / 0.7831 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.5418, allocations: 4 kB / 0.7831 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005199/0.5423, allocations: 121.7 kB / 0.7832 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.5425, allocations: 43.97 kB / 0.7833 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.5458, allocations: 3.05 MB / 0.7862 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.5461, allocations: 35.73 kB / 0.7863 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.5461, allocations: 11.98 kB / 0.7863 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004137/0.5465, allocations: 220 kB / 0.7865 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002662/0.5468, allocations: 183.5 kB / 0.7867 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004661/0.5473, allocations: 263.7 kB / 0.7869 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.644e-06/0.5473, allocations: 0 / 0.7869 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.000792/0.5481, allocations: 353.8 kB / 0.7873 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.5481, allocations: 7.938 kB / 0.7873 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5481, allocations: 4.312 kB / 0.7873 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/0.5484, allocations: 80.72 kB / 0.7873 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.5487, allocations: 59.97 kB / 0.7874 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.5507, allocations: 1.614 MB / 0.789 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.551, allocations: 35.88 kB / 0.789 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.551, allocations: 15.94 kB / 0.789 GB, free: 12.34 MB / 0.5606 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.000155/0.5512, allocations: 196.1 kB / 0.7892 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.5513, allocations: 19.81 kB / 0.7892 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.947e-05/0.5513, allocations: 30.17 kB / 0.7893 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.5513, allocations: 0 / 0.7893 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.5513, allocations: 4 kB / 0.7893 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.5514, allocations: 7.938 kB / 0.7893 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.5528, allocations: 0.8319 MB / 0.7901 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5528, allocations: 0 / 0.7901 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.5529, allocations: 27.98 kB / 0.7901 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000375/0.5533, allocations: 105.7 kB / 0.7902 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.5534, allocations: 0 / 0.7902 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002879/0.5562, allocations: 3.027 MB / 0.7932 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5563, allocations: 0 / 0.7932 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007614/0.557, allocations: 417.4 kB / 0.7936 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.5571, allocations: 116.8 kB / 0.7937 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.5572, allocations: 4 kB / 0.7937 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.5574, allocations: 11.98 kB / 0.7937 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.5575, allocations: 23.91 kB / 0.7937 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.5575, allocations: 8 kB / 0.7937 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001499/0.5576, allocations: 168.5 kB / 0.7939 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5576, allocations: 0 / 0.7939 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006683/0.5583, allocations: 175.3 kB / 0.7941 GB, free: 6.777 MB / 0.5606 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.0001271/0.5584, allocations: 95.25 kB / 0.7941 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.5604, allocations: 0.7582 MB / 0.7949 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5604, allocations: 0 / 0.7949 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007742/0.5612, allocations: 377.7 kB / 0.7952 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.5616, allocations: 62.64 kB / 0.7953 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.5627, allocations: 0.6198 MB / 0.7959 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.5631, allocations: 0.8144 MB / 0.7967 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.5632, allocations: 27.44 kB / 0.7967 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5632, allocations: 0 / 0.7967 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of Templates: time 0.007964/0.5712, allocations: 6.189 MB / 0.8028 GB, free: 13.73 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)