Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001582/0.001582, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002105, allocations: 277 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9419/0.9419, allocations: 169.3 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 90.17 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1421, allocations: 86.98 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005128/0.1473, allocations: 4.193 MB / 0.6857 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.1509, allocations: 2.63 MB / 0.6883 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.151, allocations: 11.94 kB / 0.6883 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009787/0.152, allocations: 378.2 kB / 0.6887 GB, free: 232 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2319/0.384, allocations: 380.7 kB / 0.689 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.3852, allocations: 0.5153 MB / 0.6895 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000748/0.386, allocations: 0.6883 MB / 0.6902 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004772/0.3865, allocations: 345.5 kB / 0.6905 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.3868, allocations: 268 kB / 0.6908 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.3872, allocations: 335.4 kB / 0.6911 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.3873, allocations: 38.88 kB / 0.6911 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.3878, allocations: 309.5 kB / 0.6914 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.388, allocations: 199.7 kB / 0.6916 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.3882, allocations: 250.2 kB / 0.6919 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007396/0.3889, allocations: 0.7205 MB / 0.6926 GB, free: 12.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3889, allocations: 4.375 kB / 0.6926 GB, free: 12.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.389, allocations: 0 / 0.6926 GB, free: 12.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.389, allocations: 1.406 kB / 0.6926 GB, free: 12.81 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001185/0.3902, allocations: 0.8007 MB / 0.6934 GB, free: 12.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.3902, allocations: 9.812 kB / 0.6934 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008573/0.3911, allocations: 145.7 kB / 0.6935 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.3916, allocations: 375 kB / 0.6939 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.3916, allocations: 33.62 kB / 0.6939 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/0.3917, allocations: 40 kB / 0.6939 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.3928, allocations: 0.8216 MB / 0.6947 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.3928, allocations: 14 kB / 0.6947 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.411e-05/0.3929, allocations: 19.19 kB / 0.6948 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.393, allocations: 63.66 kB / 0.6948 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.3941, allocations: 0.6384 MB / 0.6954 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.3972, allocations: 4.623 MB / 0.7 GB, free: 7.836 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009177/0.3981, allocations: 493 kB / 0.7004 GB, free: 7.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/0.3986, allocations: 280.4 kB / 0.7007 GB, free: 7.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.3986, allocations: 9.188 kB / 0.7007 GB, free: 7.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.3987, allocations: 36.16 kB / 0.7007 GB, free: 7.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.454e-06/0.3987, allocations: 1.078 kB / 0.7007 GB, free: 7.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.001622/0.4003, allocations: 0.8659 MB / 0.7016 GB, free: 7.184 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.4003, allocations: 82.95 kB / 0.7017 GB, free: 7.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.4006, allocations: 366.8 kB / 0.702 GB, free: 6.898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.4007, allocations: 32.28 kB / 0.702 GB, free: 6.863 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.4008, allocations: 287.2 kB / 0.7023 GB, free: 6.625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.552e-05/0.4009, allocations: 124.7 kB / 0.7024 GB, free: 6.531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.4011, allocations: 112.7 kB / 0.7025 GB, free: 6.473 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.4011, allocations: 352.3 kB / 0.7029 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.4016, allocations: 257.1 kB / 0.7031 GB, free: 6.055 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.4021, allocations: 476.1 kB / 0.7036 GB, free: 5.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009927/0.4031, allocations: 0.7451 MB / 0.7043 GB, free: 5.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.4031, allocations: 2.562 kB / 0.7043 GB, free: 5.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001272/0.4044, allocations: 0.7656 MB / 0.7051 GB, free: 4.934 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4044, allocations: 8.688 kB / 0.7051 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.4045, allocations: 7.469 kB / 0.7051 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.4045, allocations: 10.59 kB / 0.7051 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/0.4052, allocations: 162.4 kB / 0.7052 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.4052, allocations: 20.28 kB / 0.7053 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.4056, allocations: 68.02 kB / 0.7053 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.4057, allocations: 27.7 kB / 0.7054 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004879/0.4062, allocations: 346 kB / 0.7057 GB, free: 4.723 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000434/0.4066, allocations: 438.9 kB / 0.7061 GB, free: 4.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008189/0.4075, allocations: 0.6757 MB / 0.7068 GB, free: 3.871 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.2e-06/0.4075, allocations: 3.547 kB / 0.7068 GB, free: 3.871 MB / 494.1 MB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001091/0.4086, allocations: 0.6643 MB / 0.7074 GB, free: 3.613 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.4086, allocations: 9.188 kB / 0.7074 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.4086, allocations: 8.719 kB / 0.7074 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.4086, allocations: 11.41 kB / 0.7074 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/0.4092, allocations: 146.3 kB / 0.7076 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.4092, allocations: 16.61 kB / 0.7076 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.4096, allocations: 51.33 kB / 0.7076 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.4096, allocations: 31.48 kB / 0.7077 GB, free: 3.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.4097, allocations: 219.7 kB / 0.7079 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.4098, allocations: 40.47 kB / 0.7079 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.4109, allocations: 0.5692 MB / 0.7085 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.4109, allocations: 4.859 kB / 0.7085 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4109, allocations: 5 kB / 0.7085 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.411, allocations: 2.062 kB / 0.7085 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.4134, allocations: 1.605 MB / 0.7101 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.4134, allocations: 8.938 kB / 0.7101 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/0.414, allocations: 113.6 kB / 0.7102 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.414, allocations: 5.594 kB / 0.7102 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.414, allocations: 9.75 kB / 0.7102 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.414, allocations: 12.03 kB / 0.7102 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.4141, allocations: 4.875 kB / 0.7102 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009353/0.415, allocations: 0.7853 MB / 0.711 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.4152, allocations: 164.2 kB / 0.7111 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.728e-05/0.4153, allocations: 16.97 kB / 0.7111 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.4157, allocations: 45.52 kB / 0.7112 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.4158, allocations: 33.47 kB / 0.7112 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.4158, allocations: 14.53 kB / 0.7112 GB, free: 1.605 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002507/0.4161, allocations: 254.5 kB / 0.7115 GB, free: 1.484 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4161, allocations: 4 kB / 0.7115 GB, free: 1.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008217/0.4169, allocations: 192.6 kB / 0.7117 GB, free: 1.457 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001191/0.4171, allocations: 112.1 kB / 0.7118 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.4185, allocations: 0.9178 MB / 0.7127 GB, free: 1.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4185, allocations: 0 / 0.7127 GB, free: 1.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004734/0.419, allocations: 270.8 kB / 0.7129 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008078/0.4198, allocations: 137.3 kB / 0.7131 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.4212, allocations: 1.005 MB / 0.714 GB, free: 380 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.4216, allocations: 0.8655 MB / 0.7149 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005139/0.4221, allocations: 206.7 kB / 0.7151 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.4223, allocations: 39.59 kB / 0.7151 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.4223, allocations: 0 / 0.7151 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.01019/0.4325, allocations: 6.113 MB / 0.7211 GB, free: 13.93 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)