Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.3 MB / 308.1 MB, free: 4.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 193.7 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000925/0.0009251, allocations: 102.1 kB / 0.748 GB, free: 61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 47.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2382, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.0062/0.2445, allocations: 4.375 MB / 0.9865 GB, free: 6 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004474/0.249, allocations: 2.724 MB / 0.9892 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003884/0.2494, allocations: 11.94 kB / 0.9892 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.2506, allocations: 346.7 kB / 0.9895 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.2517, allocations: 370.5 kB / 0.9899 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.2529, allocations: 483.1 kB / 0.9903 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.254, allocations: 1.013 MB / 0.9913 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006586/0.2547, allocations: 364.1 kB / 0.9916 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004258/0.2551, allocations: 239.1 kB / 0.9919 GB, free: 468 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006581/0.2558, allocations: 362.7 kB / 0.9922 GB, free: 104 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.17e-05/0.2559, allocations: 28 kB / 0.9923 GB, free: 76 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006519/0.2565, allocations: 395.1 kB / 0.9926 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.2568, allocations: 191.5 kB / 0.9928 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003648/0.2571, allocations: 250.6 kB / 0.993 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.2582, allocations: 0.7436 MB / 0.9938 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2582, allocations: 0 / 0.9938 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2582, allocations: 0 / 0.9938 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.287e-05/0.2583, allocations: 0 / 0.9938 GB, free: 14.51 MB / 0.7292 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.001956/0.2602, allocations: 0.8379 MB / 0.9946 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2603, allocations: 8.031 kB / 0.9946 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009158/0.2612, allocations: 148.1 kB / 0.9947 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.2618, allocations: 367 kB / 0.9951 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.2618, allocations: 33.36 kB / 0.9951 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.2619, allocations: 44.38 kB / 0.9952 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.2632, allocations: 0.8324 MB / 0.996 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.2632, allocations: 4 kB / 0.996 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.581e-05/0.2633, allocations: 15.98 kB / 0.996 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.978e-05/0.2634, allocations: 68.89 kB / 0.9961 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.2647, allocations: 0.6711 MB / 0.9967 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/0.2688, allocations: 4.496 MB / 1.001 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.2701, allocations: 0.5987 MB / 1.002 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/0.2706, allocations: 301.5 kB / 1.002 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.2706, allocations: 7.984 kB / 1.002 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.2707, allocations: 46.48 kB / 1.002 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=38): time 2.946e-06/0.2707, allocations: 0 / 1.002 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.001981/0.2727, allocations: 0.9396 MB / 1.003 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.2727, allocations: 85.09 kB / 1.003 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.2731, allocations: 353.4 kB / 1.003 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.2731, allocations: 33.7 kB / 1.003 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.2733, allocations: 279.9 kB / 1.004 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.2734, allocations: 138 kB / 1.004 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.2736, allocations: 110.1 kB / 1.004 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2738, allocations: 358.7 kB / 1.004 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005353/0.2743, allocations: 274.9 kB / 1.005 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/0.2749, allocations: 484 kB / 1.005 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.2762, allocations: 0.7778 MB / 1.006 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2762, allocations: 0 / 1.006 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001432/0.2776, allocations: 0.7931 MB / 1.007 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.2776, allocations: 8 kB / 1.007 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.2777, allocations: 11.94 kB / 1.007 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.2777, allocations: 8 kB / 1.007 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007127/0.2784, allocations: 171.7 kB / 1.007 GB, free: 464 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.2784, allocations: 12.41 kB / 1.007 GB, free: 452 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.2789, allocations: 87.61 kB / 1.007 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.279, allocations: 27.98 kB / 1.007 GB, free: 336 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006472/0.2797, allocations: 361.1 kB / 1.007 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000569/0.2802, allocations: 439.6 kB / 1.008 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001033/0.2813, allocations: 0.6886 MB / 1.008 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.234e-06/0.2813, allocations: 7.938 kB / 1.008 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001236/0.2825, allocations: 0.6776 MB / 1.009 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2826, allocations: 12.03 kB / 1.009 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.2826, allocations: 11.98 kB / 1.009 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.2826, allocations: 8 kB / 1.009 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.2832, allocations: 159.7 kB / 1.009 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.2832, allocations: 8 kB / 1.009 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.2836, allocations: 59.7 kB / 1.009 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.2837, allocations: 31.98 kB / 1.009 GB, free: 13.68 MB / 0.7448 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.0001912/0.2839, allocations: 224 kB / 1.009 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.284, allocations: 39.53 kB / 1.009 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.2853, allocations: 0.6542 MB / 1.01 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.2853, allocations: 4 kB / 1.01 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2854, allocations: 0 / 1.01 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2854, allocations: 0 / 1.01 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.2878, allocations: 1.451 MB / 1.012 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2878, allocations: 0 / 1.012 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007192/0.2886, allocations: 152 kB / 1.012 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.2886, allocations: 7.984 kB / 1.012 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/0.2886, allocations: 15.92 kB / 1.012 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.2887, allocations: 4 kB / 1.012 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2887, allocations: 4 kB / 1.012 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.2909, allocations: 1.746 MB / 1.013 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.2912, allocations: 168.4 kB / 1.014 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.353e-05/0.2913, allocations: 15.92 kB / 1.014 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.2918, allocations: 51.94 kB / 1.014 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.2919, allocations: 35.89 kB / 1.014 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.292, allocations: 15.94 kB / 1.014 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002805/0.2922, allocations: 255.2 kB / 1.014 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2923, allocations: 0 / 1.014 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001081/0.2933, allocations: 192 kB / 1.014 GB, free: 8.484 MB / 0.7448 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.0001663/0.2935, allocations: 115.2 kB / 1.014 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001934/0.2955, allocations: 0.9768 MB / 1.015 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2955, allocations: 1.5 kB / 1.015 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005796/0.2961, allocations: 300 kB / 1.015 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008038/0.2969, allocations: 114.5 kB / 1.016 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.2992, allocations: 1.496 MB / 1.017 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/0.2997, allocations: 0.8952 MB / 1.018 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006277/0.3004, allocations: 204.2 kB / 1.018 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.3005, allocations: 39.42 kB / 1.018 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/0.3005, allocations: 0 / 1.018 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of Templates: time 0.4474/0.748, allocations: 6.43 MB / 1.024 GB, free: 96.89 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)