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.001885/0.001885, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001896/0.001896, allocations: 183 kB / 17.34 MB, free: 5.742 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.657/1.657, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002641/0.002641, allocations: 294.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002032, allocations: 95.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5101, allocations: 86.97 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005645/0.5158, allocations: 4.208 MB / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004328/0.5202, allocations: 2.637 MB / 0.7737 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.5205, allocations: 11.94 kB / 0.7737 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.5217, allocations: 377.7 kB / 0.7741 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009064/0.5226, allocations: 386.3 kB / 0.7745 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.5239, allocations: 0.5145 MB / 0.775 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008464/0.5247, allocations: 0.6815 MB / 0.7756 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000529/0.5252, allocations: 354.4 kB / 0.776 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003546/0.5256, allocations: 267.1 kB / 0.7762 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005509/0.5262, allocations: 334.8 kB / 0.7765 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.209e-05/0.5263, allocations: 40 kB / 0.7766 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005591/0.5268, allocations: 311.3 kB / 0.7769 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.527, allocations: 195.5 kB / 0.7771 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.5273, allocations: 250.7 kB / 0.7773 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008084/0.5281, allocations: 0.7228 MB / 0.778 GB, free: 8.613 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.5281, allocations: 3.938 kB / 0.778 GB, free: 8.609 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5281, allocations: 4 kB / 0.778 GB, free: 8.605 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.5281, allocations: 0 / 0.778 GB, free: 8.605 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001418/0.5295, allocations: 0.8068 MB / 0.7788 GB, free: 7.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.5296, allocations: 8.031 kB / 0.7788 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008631/0.5305, allocations: 144.1 kB / 0.779 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.531, allocations: 375.1 kB / 0.7793 GB, free: 7.199 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.531, allocations: 33.36 kB / 0.7793 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/0.5311, allocations: 48.28 kB / 0.7794 GB, free: 7.121 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.5323, allocations: 0.8215 MB / 0.7802 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.5323, allocations: 7.938 kB / 0.7802 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.5324, allocations: 23.98 kB / 0.7802 GB, free: 6.172 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.562e-05/0.5325, allocations: 64.61 kB / 0.7803 GB, free: 6.109 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.5336, allocations: 0.6307 MB / 0.7809 GB, free: 5.477 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/0.5377, allocations: 4.623 MB / 0.7854 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009233/0.5386, allocations: 497 kB / 0.7859 GB, free: 0 / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004842/0.5391, allocations: 269.6 kB / 0.7861 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.5391, allocations: 15.89 kB / 0.7862 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.5392, allocations: 38.56 kB / 0.7862 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.403e-06/0.5392, allocations: 0 / 0.7862 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001748/0.5409, allocations: 0.8667 MB / 0.787 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.541, allocations: 89.23 kB / 0.7871 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/0.5414, allocations: 361.5 kB / 0.7875 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.5414, allocations: 33.7 kB / 0.7875 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.5416, allocations: 291 kB / 0.7878 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.5417, allocations: 114.3 kB / 0.7879 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.5419, allocations: 118 kB / 0.788 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5421, allocations: 350.7 kB / 0.7883 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.5425, allocations: 262.9 kB / 0.7886 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.5431, allocations: 474.5 kB / 0.789 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.5442, allocations: 0.7449 MB / 0.7898 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.5442, allocations: 4 kB / 0.7898 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001305/0.5456, allocations: 0.7643 MB / 0.7905 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.5456, allocations: 8 kB / 0.7905 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.5456, allocations: 8 kB / 0.7905 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.5456, allocations: 8 kB / 0.7905 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/0.5463, allocations: 163.7 kB / 0.7907 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/0.5463, allocations: 15.94 kB / 0.7907 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.5468, allocations: 63.78 kB / 0.7908 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.5468, allocations: 27.98 kB / 0.7908 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005467/0.5474, allocations: 351.5 kB / 0.7911 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005285/0.5479, allocations: 442 kB / 0.7916 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009115/0.5488, allocations: 0.6674 MB / 0.7922 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.26e-06/0.5489, allocations: 4 kB / 0.7922 GB, free: 9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001136/0.55, allocations: 0.6588 MB / 0.7929 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.55, allocations: 15.69 kB / 0.7929 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.55, allocations: 8 kB / 0.7929 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.5501, allocations: 12 kB / 0.7929 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.5506, allocations: 151.8 kB / 0.793 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.5506, allocations: 15.94 kB / 0.7931 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.551, allocations: 51.8 kB / 0.7931 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.551, allocations: 24 kB / 0.7931 GB, free: 8.066 MB / 0.5606 GB 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.0001853/0.5512, allocations: 225.1 kB / 0.7933 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/0.5513, allocations: 39.53 kB / 0.7934 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.5524, allocations: 0.5716 MB / 0.7939 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5524, allocations: 4 kB / 0.7939 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5524, allocations: 4 kB / 0.7939 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5524, allocations: 0 / 0.7939 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.5549, allocations: 1.605 MB / 0.7955 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.5549, allocations: 4 kB / 0.7955 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/0.5555, allocations: 119.8 kB / 0.7956 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.5555, allocations: 4 kB / 0.7956 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.5555, allocations: 16.41 kB / 0.7956 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.5556, allocations: 7.938 kB / 0.7957 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.5556, allocations: 8 kB / 0.7957 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.5567, allocations: 0.7773 MB / 0.7964 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/0.5569, allocations: 172.4 kB / 0.7966 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/0.557, allocations: 15.98 kB / 0.7966 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.5574, allocations: 39.94 kB / 0.7966 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.5575, allocations: 39.84 kB / 0.7967 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.5575, allocations: 16 kB / 0.7967 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002642/0.5578, allocations: 251.2 kB / 0.7969 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5578, allocations: 0 / 0.7969 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008481/0.5587, allocations: 192 kB / 0.7971 GB, free: 3.789 MB / 0.5606 GB 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.0001697/0.5588, allocations: 115.1 kB / 0.7972 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001675/0.5605, allocations: 0.9167 MB / 0.7981 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5605, allocations: 0 / 0.7981 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004897/0.561, allocations: 278.2 kB / 0.7984 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008304/0.5619, allocations: 132.4 kB / 0.7985 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.5636, allocations: 1.043 MB / 0.7995 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.5642, allocations: 0.867 MB / 0.8004 GB, free: 360 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.5644, allocations: 47.42 kB / 0.8004 GB, free: 312 kB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/0.5644, allocations: 0 / 0.8004 GB, free: 312 kB / 0.5606 GB Notification: Performance of Templates: time 0.01028/0.5747, allocations: 6.442 MB / 0.8067 GB, free: 9.891 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)