Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.915/2.915, allocations: 287.5 MB / 302.4 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.00134, allocations: 193.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.44/2.44, allocations: 205.4 MB / 0.6297 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009626/0.0009626, allocations: 92.91 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006884/0.0006888, allocations: 15.59 kB / 0.8658 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2646, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.008379/0.273, allocations: 3.565 MB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004618/0.2777, allocations: 1.509 MB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.278, allocations: 4 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.2784, allocations: 63.48 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008946/0.2794, allocations: 187.1 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.2804, allocations: 160.9 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.2816, allocations: 0.6231 MB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007665/0.2824, allocations: 389.7 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004128/0.2828, allocations: 179.4 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006764/0.2835, allocations: 235.2 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.2837, allocations: 19.98 kB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004599/0.2842, allocations: 83.83 kB / 0.9852 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.2844, allocations: 127.7 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.2845, allocations: 85.58 kB / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007136/0.2853, allocations: 399.2 kB / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2853, allocations: 0 / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.579e-06/0.2853, allocations: 0 / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.2854, allocations: 7.938 kB / 0.9858 GB, free: 20.72 MB / 0.6198 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.002/0.2874, allocations: 0.6201 MB / 0.9864 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.2875, allocations: 12.02 kB / 0.9864 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.2891, allocations: 115.4 kB / 0.9865 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006548/0.2898, allocations: 294.4 kB / 0.9868 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.2899, allocations: 50.7 kB / 0.9868 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.2901, allocations: 32 kB / 0.9869 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.2918, allocations: 0.5085 MB / 0.9873 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.2919, allocations: 0 / 0.9873 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.909e-05/0.292, allocations: 12 kB / 0.9874 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.965e-05/0.2921, allocations: 36.98 kB / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.2938, allocations: 387.6 kB / 0.9878 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004661/0.2985, allocations: 2.239 MB / 0.99 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.3003, allocations: 258.7 kB / 0.9902 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008919/0.3012, allocations: 160.8 kB / 0.9904 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.715e-05/0.3013, allocations: 4 kB / 0.9904 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3013, allocations: 34.56 kB / 0.9904 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 5.22e-06/0.3013, allocations: 0 / 0.9904 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.003542/0.3049, allocations: 0.5851 MB / 0.991 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.3049, allocations: 63.28 kB / 0.991 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.3053, allocations: 228.9 kB / 0.9912 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.3054, allocations: 25.7 kB / 0.9913 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.3056, allocations: 207.7 kB / 0.9915 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.3057, allocations: 74.92 kB / 0.9915 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.3057, allocations: 4 kB / 0.9915 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.3058, allocations: 330.8 kB / 0.9919 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.3063, allocations: 95.94 kB / 0.9919 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/0.3069, allocations: 187.6 kB / 0.9921 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/0.3075, allocations: 123.9 kB / 0.9922 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3075, allocations: 0 / 0.9922 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001904/0.3094, allocations: 376.5 kB / 0.9926 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.384e-05/0.3095, allocations: 165.9 kB / 0.9928 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3095, allocations: 3.984 kB / 0.9928 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.3106, allocations: 117.5 kB / 0.9929 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.3112, allocations: 51.91 kB / 0.9929 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005039/0.3162, allocations: 2.814 MB / 0.9957 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.3167, allocations: 35.77 kB / 0.9957 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.3167, allocations: 8 kB / 0.9957 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.3168, allocations: 6.188 kB / 0.9957 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001133/0.3179, allocations: 329.2 kB / 0.996 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3179, allocations: 4 kB / 0.996 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000467/0.3184, allocations: 76.92 kB / 0.9961 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.3188, allocations: 55.91 kB / 0.9962 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/0.3213, allocations: 1.495 MB / 0.9976 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.3217, allocations: 39.69 kB / 0.9977 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.3218, allocations: 12 kB / 0.9977 GB, free: 7.562 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002598/0.322, allocations: 255.9 kB / 0.9979 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.3221, allocations: 15.81 kB / 0.9979 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.198e-05/0.3222, allocations: 30.19 kB / 0.998 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3222, allocations: 4 kB / 0.998 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3222, allocations: 0 / 0.998 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.3222, allocations: 11.94 kB / 0.998 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.3241, allocations: 0.8288 MB / 0.9988 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3241, allocations: 7.984 kB / 0.9988 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.3244, allocations: 27.98 kB / 0.9988 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005926/0.325, allocations: 109.6 kB / 0.9989 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.325, allocations: 4 kB / 0.9989 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003362/0.3284, allocations: 2.807 MB / 1.002 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3284, allocations: 0 / 1.002 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.3296, allocations: 429.6 kB / 1.002 GB, free: 2.664 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.3297, allocations: 112.8 kB / 1.002 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.3298, allocations: 11.95 kB / 1.002 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.33, allocations: 11.98 kB / 1.002 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.3301, allocations: 27.91 kB / 1.002 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.3302, allocations: 4 kB / 1.002 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000172/0.3304, allocations: 160.5 kB / 1.002 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3304, allocations: 0 / 1.002 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008336/0.3312, allocations: 171.3 kB / 1.003 GB, free: 2.152 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001265/0.3313, allocations: 103.2 kB / 1.003 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002815/0.3342, allocations: 0.7697 MB / 1.003 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3342, allocations: 0 / 1.003 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.3354, allocations: 371.9 kB / 1.004 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006658/0.3361, allocations: 52.58 kB / 1.004 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.3375, allocations: 0.7048 MB / 1.004 GB, free: 52 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.3381, allocations: 0.8146 MB / 1.005 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004013/0.3385, allocations: 54.25 kB / 1.005 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.354e-05/0.3386, allocations: 23.38 kB / 1.005 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of SimCode: time 1.352e-06/0.3386, allocations: 0 / 1.005 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.01315/0.3518, allocations: 4.141 MB / 1.009 GB, free: 11.02 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)