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.001039/0.001039, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001129/0.001129, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 280.8 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8963/0.8963, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 98.75 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1603, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006043/0.1664, allocations: 4.197 MB / 0.6857 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003826/0.1702, allocations: 2.63 MB / 0.6883 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.1704, allocations: 11.94 kB / 0.6883 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.1714, allocations: 378.2 kB / 0.6887 GB, free: 224 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2411/0.4125, allocations: 378.6 kB / 0.689 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.4138, allocations: 0.5176 MB / 0.6895 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009642/0.4148, allocations: 0.6845 MB / 0.6902 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005887/0.4154, allocations: 352.2 kB / 0.6905 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00048/0.4159, allocations: 268 kB / 0.6908 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006032/0.4165, allocations: 334.6 kB / 0.6911 GB, free: 13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.682e-05/0.4166, allocations: 38.06 kB / 0.6911 GB, free: 13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005386/0.4171, allocations: 312.6 kB / 0.6914 GB, free: 13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.4174, allocations: 191.9 kB / 0.6916 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.4177, allocations: 254.6 kB / 0.6919 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009593/0.4186, allocations: 0.7239 MB / 0.6926 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4186, allocations: 0.8438 kB / 0.6926 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4186, allocations: 0 / 0.6926 GB, free: 12.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.4187, allocations: 1.125 kB / 0.6926 GB, free: 12.79 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.001546/0.4202, allocations: 0.8014 MB / 0.6934 GB, free: 12.28 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.4203, allocations: 9.641 kB / 0.6934 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000949/0.4212, allocations: 147.9 kB / 0.6935 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.4218, allocations: 368.8 kB / 0.6939 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.4218, allocations: 34.77 kB / 0.6939 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.4219, allocations: 39.64 kB / 0.6939 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.4231, allocations: 0.8267 MB / 0.6947 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.4231, allocations: 15.27 kB / 0.6948 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.4232, allocations: 18.14 kB / 0.6948 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.4233, allocations: 63.77 kB / 0.6948 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.4244, allocations: 0.6416 MB / 0.6955 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.4276, allocations: 4.612 MB / 0.7 GB, free: 7.836 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008939/0.4285, allocations: 0.4883 MB / 0.7004 GB, free: 7.652 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.4289, allocations: 279.6 kB / 0.7007 GB, free: 7.555 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.429, allocations: 6.75 kB / 0.7007 GB, free: 7.551 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.429, allocations: 35.83 kB / 0.7007 GB, free: 7.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.429, allocations: 0 / 0.7007 GB, free: 7.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.001603/0.4306, allocations: 0.8696 MB / 0.7016 GB, free: 7.176 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.4307, allocations: 80.48 kB / 0.7017 GB, free: 7.082 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.431, allocations: 366.3 kB / 0.702 GB, free: 6.891 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.431, allocations: 33.09 kB / 0.7021 GB, free: 6.855 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.4312, allocations: 288.4 kB / 0.7023 GB, free: 6.617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.663e-05/0.4312, allocations: 121.6 kB / 0.7024 GB, free: 6.527 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.4314, allocations: 117.5 kB / 0.7026 GB, free: 6.465 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.118e-05/0.4315, allocations: 352 kB / 0.7029 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.4319, allocations: 257.3 kB / 0.7031 GB, free: 6.047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/0.4324, allocations: 472.3 kB / 0.7036 GB, free: 5.691 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009164/0.4334, allocations: 0.7424 MB / 0.7043 GB, free: 5.227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.4334, allocations: 3.469 kB / 0.7043 GB, free: 5.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001202/0.4346, allocations: 0.7695 MB / 0.7051 GB, free: 4.926 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4346, allocations: 8.344 kB / 0.7051 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.4346, allocations: 7.25 kB / 0.7051 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.4346, allocations: 9.969 kB / 0.7051 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.4353, allocations: 164.2 kB / 0.7052 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.4353, allocations: 10.66 kB / 0.7053 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.4358, allocations: 72.19 kB / 0.7053 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.4358, allocations: 26.81 kB / 0.7054 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004779/0.4363, allocations: 344.2 kB / 0.7057 GB, free: 4.719 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000416/0.4367, allocations: 439.2 kB / 0.7061 GB, free: 4.348 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007696/0.4375, allocations: 0.6733 MB / 0.7068 GB, free: 3.867 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.027e-06/0.4375, allocations: 2.094 kB / 0.7068 GB, free: 3.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001041/0.4386, allocations: 0.6617 MB / 0.7074 GB, free: 3.613 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.4386, allocations: 8.062 kB / 0.7074 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.4386, allocations: 9.328 kB / 0.7074 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4386, allocations: 10.91 kB / 0.7074 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.4391, allocations: 151.1 kB / 0.7076 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.4391, allocations: 16.56 kB / 0.7076 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.4395, allocations: 50.89 kB / 0.7076 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.4395, allocations: 30.5 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.000115/0.4397, allocations: 223.4 kB / 0.7079 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.064e-05/0.4398, allocations: 40.39 kB / 0.7079 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.4408, allocations: 0.5703 MB / 0.7085 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.4408, allocations: 9.703 kB / 0.7085 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4408, allocations: 1.469 kB / 0.7085 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4408, allocations: 6.156 kB / 0.7085 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.4432, allocations: 1.606 MB / 0.7101 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.4432, allocations: 5.188 kB / 0.7101 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.4437, allocations: 117.4 kB / 0.7102 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4437, allocations: 5.219 kB / 0.7102 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.4438, allocations: 10.81 kB / 0.7102 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.4438, allocations: 5.656 kB / 0.7102 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4438, allocations: 8.531 kB / 0.7102 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/0.4447, allocations: 0.7881 MB / 0.711 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.4449, allocations: 163.5 kB / 0.7111 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.4449, allocations: 13.19 kB / 0.7111 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.4453, allocations: 47.14 kB / 0.7112 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.151e-05/0.4454, allocations: 34.17 kB / 0.7112 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.4455, allocations: 14.62 kB / 0.7112 GB, free: 1.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002464/0.4457, allocations: 255.3 kB / 0.7115 GB, free: 1.477 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4457, allocations: 0 / 0.7115 GB, free: 1.477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007924/0.4465, allocations: 197.3 kB / 0.7117 GB, free: 1.449 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 9.84e-05/0.4466, allocations: 116.1 kB / 0.7118 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.4481, allocations: 0.9168 MB / 0.7127 GB, free: 1.059 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4481, allocations: 1.438 kB / 0.7127 GB, free: 1.059 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004149/0.4485, allocations: 269.5 kB / 0.7129 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.4492, allocations: 127.8 kB / 0.7131 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.4505, allocations: 1.004 MB / 0.714 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.4509, allocations: 0.8718 MB / 0.7149 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004889/0.4514, allocations: 196.7 kB / 0.7151 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.4516, allocations: 39.38 kB / 0.7151 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.4516, allocations: 4.781 kB / 0.7151 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.0103/0.4619, allocations: 6.119 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)