Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007457/0.007457, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002417/0.002417, allocations: 196.1 kB / 16.67 MB, free: 5.52 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 289.9 kB / 290.8 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.9642/0.9642, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 95.86 kB / 0.6814 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4159, allocations: 86.98 MB / 0.7664 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.005346/0.4213, allocations: 4.311 MB / 0.7706 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004034/0.4254, allocations: 2.668 MB / 0.7732 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.4255, allocations: 11.94 kB / 0.7732 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.4266, allocations: 370.3 kB / 0.7736 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007166/0.4273, allocations: 398.2 kB / 0.7739 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.4284, allocations: 0.5177 MB / 0.7745 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007079/0.4291, allocations: 0.7243 MB / 0.7752 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005348/0.4297, allocations: 367.2 kB / 0.7755 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.4301, allocations: 283 kB / 0.7758 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004946/0.4306, allocations: 350.8 kB / 0.7761 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.085e-05/0.4306, allocations: 40 kB / 0.7762 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004537/0.4311, allocations: 307.3 kB / 0.7764 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.4313, allocations: 207.5 kB / 0.7766 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.4316, allocations: 262.6 kB / 0.7769 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.4323, allocations: 0.7384 MB / 0.7776 GB, free: 8.371 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4323, allocations: 0 / 0.7776 GB, free: 8.371 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.096e-06/0.4323, allocations: 3.984 kB / 0.7776 GB, free: 8.367 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.4323, allocations: 0 / 0.7776 GB, free: 8.367 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001395/0.4337, allocations: 0.834 MB / 0.7784 GB, free: 7.484 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4338, allocations: 12.03 kB / 0.7784 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008722/0.4346, allocations: 148.1 kB / 0.7786 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.4351, allocations: 387 kB / 0.779 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.4352, allocations: 33.38 kB / 0.779 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/0.4352, allocations: 44.36 kB / 0.779 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.4365, allocations: 0.8246 MB / 0.7798 GB, free: 5.922 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.4365, allocations: 7.938 kB / 0.7798 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/0.4366, allocations: 23.98 kB / 0.7799 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.242e-05/0.4367, allocations: 64.95 kB / 0.7799 GB, free: 5.828 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.4379, allocations: 0.6711 MB / 0.7806 GB, free: 5.152 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.4416, allocations: 4.488 MB / 0.785 GB, free: 328 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.4428, allocations: 0.5987 MB / 0.7855 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/0.4434, allocations: 305.5 kB / 0.7858 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.4434, allocations: 4 kB / 0.7858 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.4434, allocations: 42.56 kB / 0.7859 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 1.844e-06/0.4434, allocations: 0 / 0.7859 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.001958/0.4454, allocations: 0.9402 MB / 0.7868 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.4455, allocations: 89.05 kB / 0.7869 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.4458, allocations: 349.5 kB / 0.7872 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.4458, allocations: 37.64 kB / 0.7873 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.446, allocations: 283.9 kB / 0.7875 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/0.4461, allocations: 138 kB / 0.7877 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.4463, allocations: 114 kB / 0.7878 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4464, allocations: 350.7 kB / 0.7881 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000535/0.447, allocations: 278.9 kB / 0.7884 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006721/0.4477, allocations: 483.7 kB / 0.7888 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.4489, allocations: 0.7677 MB / 0.7896 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4489, allocations: 4 kB / 0.7896 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001405/0.4503, allocations: 0.7893 MB / 0.7904 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4503, allocations: 8 kB / 0.7904 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4503, allocations: 8 kB / 0.7904 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.4504, allocations: 15.98 kB / 0.7904 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/0.4511, allocations: 167.7 kB / 0.7905 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.4511, allocations: 8 kB / 0.7906 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.4516, allocations: 80.08 kB / 0.7906 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/0.4517, allocations: 31.98 kB / 0.7907 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005909/0.4523, allocations: 363.5 kB / 0.791 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005726/0.4528, allocations: 443.7 kB / 0.7914 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001096/0.4539, allocations: 0.6729 MB / 0.7921 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.402e-06/0.454, allocations: 7.938 kB / 0.7921 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.00127/0.4552, allocations: 0.68 MB / 0.7928 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.4553, allocations: 11.98 kB / 0.7928 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4553, allocations: 12.06 kB / 0.7928 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.4553, allocations: 8 kB / 0.7928 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000601/0.4559, allocations: 155.7 kB / 0.7929 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.4559, allocations: 15.94 kB / 0.793 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/0.4563, allocations: 63.62 kB / 0.793 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.4564, allocations: 28 kB / 0.793 GB, free: 7.543 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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.0001654/0.4565, allocations: 220 kB / 0.7932 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.4566, allocations: 43.47 kB / 0.7933 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.458, allocations: 0.6499 MB / 0.7939 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.458, allocations: 4 kB / 0.7939 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.458, allocations: 4 kB / 0.7939 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.458, allocations: 0 / 0.7939 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.4603, allocations: 1.46 MB / 0.7954 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4603, allocations: 0 / 0.7954 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007341/0.4611, allocations: 147.8 kB / 0.7955 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.4611, allocations: 4 kB / 0.7955 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.4611, allocations: 11.94 kB / 0.7955 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4611, allocations: 4.219 kB / 0.7955 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4612, allocations: 11.94 kB / 0.7955 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.4624, allocations: 0.7927 MB / 0.7963 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.4626, allocations: 164.5 kB / 0.7965 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.4626, allocations: 15.92 kB / 0.7965 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.4631, allocations: 59.92 kB / 0.7965 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4632, allocations: 31.89 kB / 0.7966 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.4632, allocations: 16 kB / 0.7966 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002427/0.4635, allocations: 251.2 kB / 0.7968 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4635, allocations: 0 / 0.7968 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008016/0.4643, allocations: 196 kB / 0.797 GB, free: 3.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * 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.0001366/0.4644, allocations: 115.1 kB / 0.7971 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.4663, allocations: 0.9682 MB / 0.7981 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4663, allocations: 320 / 0.7981 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005708/0.4669, allocations: 303.6 kB / 0.7984 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008054/0.4677, allocations: 137.1 kB / 0.7985 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.4694, allocations: 1.034 MB / 0.7995 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.4699, allocations: 0.8794 MB / 0.8004 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005122/0.4704, allocations: 200.1 kB / 0.8005 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.4706, allocations: 43.42 kB / 0.8006 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.4706, allocations: 0 / 0.8006 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01138/0.482, allocations: 6.789 MB / 0.8072 GB, free: 8.887 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)