Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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_latest_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_latest_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.006474/0.006474, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001377/0.001377, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.768/2.768, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001764, allocations: 59.91 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3695, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005701/0.3752, allocations: 4.099 MB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002497/0.3777, allocations: 1.593 MB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.3779, allocations: 11.94 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.3796, allocations: 0.5823 MB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005269/0.3801, allocations: 234.8 kB / 1.214 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.3807, allocations: 207.6 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006693/0.3814, allocations: 0.5452 MB / 1.215 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006967/0.3821, allocations: 477.8 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.3824, allocations: 227.3 kB / 1.215 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004389/0.3828, allocations: 259 kB / 1.216 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.004e-05/0.3829, allocations: 36 kB / 1.216 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.3832, allocations: 167.7 kB / 1.216 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.3834, allocations: 139.7 kB / 1.216 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.3836, allocations: 203 kB / 1.216 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006672/0.3843, allocations: 0.5179 MB / 1.217 GB, free: 384 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3843, allocations: 4 kB / 1.217 GB, free: 380 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3843, allocations: 0 / 1.217 GB, free: 380 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3843, allocations: 0 / 1.217 GB, free: 380 kB / 0.9669 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.001299/0.3856, allocations: 0.6824 MB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3857, allocations: 16.62 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007112/0.3864, allocations: 104.4 kB / 1.218 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.3869, allocations: 299.7 kB / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-05/0.387, allocations: 59.2 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.387, allocations: 36.38 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/0.3878, allocations: 0.5009 MB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.3878, allocations: 0 / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.3879, allocations: 19.92 kB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.3879, allocations: 32.98 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007237/0.3887, allocations: 375.7 kB / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.3911, allocations: 2.204 MB / 1.221 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007102/0.3919, allocations: 255.7 kB / 1.221 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.3923, allocations: 156.7 kB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.3923, allocations: 0 / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3923, allocations: 38.5 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/0.3923, allocations: 4 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001674/0.394, allocations: 0.5725 MB / 1.222 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.3941, allocations: 51.41 kB / 1.222 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.3944, allocations: 229 kB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.3944, allocations: 25.7 kB / 1.222 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3946, allocations: 211.6 kB / 1.222 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.3946, allocations: 67.09 kB / 1.223 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.3947, allocations: 57.55 kB / 1.223 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3949, allocations: 338.8 kB / 1.223 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.3951, allocations: 88.8 kB / 1.223 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.3954, allocations: 184.8 kB / 1.223 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/0.3959, allocations: 274.5 kB / 1.223 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.396, allocations: 0 / 1.223 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008425/0.3968, allocations: 376.9 kB / 1.224 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3968, allocations: 12.03 kB / 1.224 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3968, allocations: 0 / 1.224 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/0.3974, allocations: 105.6 kB / 1.224 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.3976, allocations: 55.91 kB / 1.224 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.4012, allocations: 3.047 MB / 1.227 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.4015, allocations: 35.73 kB / 1.227 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.4015, allocations: 12 kB / 1.227 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003665/0.4019, allocations: 224.1 kB / 1.227 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002598/0.4021, allocations: 179.5 kB / 1.227 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004505/0.4026, allocations: 279.1 kB / 1.228 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.4026, allocations: 0 / 1.228 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007621/0.4034, allocations: 346 kB / 1.228 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.4034, allocations: 15.92 kB / 1.228 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.4034, allocations: 0 / 1.228 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003155/0.4037, allocations: 80.94 kB / 1.228 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.4039, allocations: 51.91 kB / 1.228 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.4061, allocations: 1.62 MB / 1.23 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.4064, allocations: 27.83 kB / 1.23 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.4064, allocations: 15.88 kB / 1.23 GB, free: 2.043 MB / 0.9825 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.0001581/0.4066, allocations: 196.3 kB / 1.23 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.4066, allocations: 19.81 kB / 1.23 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.868e-05/0.4067, allocations: 30.17 kB / 1.23 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4067, allocations: 4 kB / 1.23 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4067, allocations: 0 / 1.23 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4067, allocations: 3.938 kB / 1.23 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.4082, allocations: 0.8329 MB / 1.231 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.4082, allocations: 0 / 1.231 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.4084, allocations: 39.84 kB / 1.231 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000382/0.4088, allocations: 101.7 kB / 1.231 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.4088, allocations: 8 kB / 1.231 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.4119, allocations: 3.023 MB / 1.234 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4119, allocations: 4.031 kB / 1.234 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007711/0.4127, allocations: 409.2 kB / 1.234 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.4128, allocations: 124.8 kB / 1.234 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.4129, allocations: 0 / 1.234 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.4131, allocations: 15.98 kB / 1.234 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/0.4131, allocations: 15.98 kB / 1.234 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.4132, allocations: 8.078 kB / 1.234 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001578/0.4133, allocations: 160.5 kB / 1.235 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4133, allocations: 0 / 1.235 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007024/0.414, allocations: 171.3 kB / 1.235 GB, free: 12.49 MB / 0.9981 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.0001935/0.4143, allocations: 119.2 kB / 1.235 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.4161, allocations: 0.7583 MB / 1.236 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4161, allocations: 4.062 kB / 1.236 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007855/0.4169, allocations: 361.2 kB / 1.236 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.4174, allocations: 60.69 kB / 1.236 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.4184, allocations: 0.5922 MB / 1.237 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.4188, allocations: 0.8068 MB / 1.237 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001898/0.419, allocations: 54.25 kB / 1.237 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.419, allocations: 19.44 kB / 1.237 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.419, allocations: 0 / 1.237 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.01068/0.4297, allocations: 4.822 MB / 1.242 GB, free: 4.801 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)