Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 95.41 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 174.9 kB / 16.56 MB, free: 6.391 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.51/1.51, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7151/0.7151, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004801, allocations: 8 kB / 493.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2206, allocations: 77.16 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.005661/0.2263, allocations: 3.013 MB / 0.5598 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.2295, allocations: 1.59 MB / 0.5613 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.2296, allocations: 3.938 kB / 0.5613 GB, free: 6.965 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.2298, allocations: 39.7 kB / 0.5614 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.2302, allocations: 131.6 kB / 0.5615 GB, free: 6.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.2307, allocations: 191.5 kB / 0.5617 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.231, allocations: 223.6 kB / 0.5619 GB, free: 6.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006908/0.2317, allocations: 374.2 kB / 0.5623 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.2319, allocations: 123.5 kB / 0.5624 GB, free: 5.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.2322, allocations: 127.5 kB / 0.5625 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.2322, allocations: 16 kB / 0.5625 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.2325, allocations: 131.8 kB / 0.5626 GB, free: 5.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.583e-05/0.2326, allocations: 79.72 kB / 0.5627 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.42e-05/0.2327, allocations: 69.58 kB / 0.5628 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.2331, allocations: 347.3 kB / 0.5631 GB, free: 5.125 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2331, allocations: 0 / 0.5631 GB, free: 5.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2331, allocations: 0 / 0.5631 GB, free: 5.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.2331, allocations: 0 / 0.5631 GB, free: 5.125 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00112/0.2343, allocations: 0.6018 MB / 0.5637 GB, free: 4.469 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2343, allocations: 12.02 kB / 0.5637 GB, free: 4.457 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007185/0.235, allocations: 111.5 kB / 0.5638 GB, free: 4.348 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.2354, allocations: 271.1 kB / 0.5641 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.2354, allocations: 16.44 kB / 0.5641 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.2355, allocations: 23.98 kB / 0.5641 GB, free: 4.004 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007908/0.2363, allocations: 418.6 kB / 0.5645 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.2363, allocations: 3.953 kB / 0.5645 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.2364, allocations: 15.98 kB / 0.5645 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-05/0.2364, allocations: 24.36 kB / 0.5646 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008556/0.2373, allocations: 416.8 kB / 0.565 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.2394, allocations: 1.615 MB / 0.5665 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.2405, allocations: 493.2 kB / 0.567 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.2407, allocations: 89.11 kB / 0.5671 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005488/0.2413, allocations: 272.2 kB / 0.5673 GB, free: 496 kB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 2.044e-06/0.2413, allocations: 0 / 0.5673 GB, free: 496 kB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.001935/0.2432, allocations: 0.7829 MB / 0.5681 GB, free: 15.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.2433, allocations: 84.89 kB / 0.5682 GB, free: 15.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.2435, allocations: 221 kB / 0.5684 GB, free: 15.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.2436, allocations: 37.7 kB / 0.5684 GB, free: 15.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.2437, allocations: 168.2 kB / 0.5686 GB, free: 15.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.2438, allocations: 94.66 kB / 0.5687 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.2438, allocations: 8 kB / 0.5687 GB, free: 15.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2439, allocations: 330.8 kB / 0.569 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.2444, allocations: 180.2 kB / 0.5692 GB, free: 14.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.2449, allocations: 261.9 kB / 0.5694 GB, free: 14.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.2454, allocations: 225.8 kB / 0.5697 GB, free: 14.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2454, allocations: 4 kB / 0.5697 GB, free: 14.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001121/0.2465, allocations: 0.5598 MB / 0.5702 GB, free: 13.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006733/0.2472, allocations: 0.9008 MB / 0.5711 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2472, allocations: 4 kB / 0.5711 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002682/0.2475, allocations: 44.81 kB / 0.5711 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.2479, allocations: 95.81 kB / 0.5712 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.2496, allocations: 1.501 MB / 0.5727 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.25, allocations: 51.8 kB / 0.5727 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.25, allocations: 12.06 kB / 0.5727 GB, free: 10.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.25, allocations: 8 kB / 0.5728 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001175/0.2512, allocations: 0.4996 MB / 0.5732 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.2512, allocations: 3.938 kB / 0.5732 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.2514, allocations: 49.36 kB / 0.5733 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.2517, allocations: 83.88 kB / 0.5734 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.253, allocations: 1.508 MB / 0.5748 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.2533, allocations: 47.81 kB / 0.5749 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.2534, allocations: 15.98 kB / 0.5749 GB, free: 8.258 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.2536, allocations: 242.6 kB / 0.5751 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.2537, allocations: 23.72 kB / 0.5752 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.2547, allocations: 498.1 kB / 0.5756 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.2548, allocations: 4 kB / 0.5756 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2548, allocations: 3.938 kB / 0.5756 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2548, allocations: 3.984 kB / 0.5756 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007905/0.2556, allocations: 0.5661 MB / 0.5762 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2556, allocations: 0 / 0.5762 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.256, allocations: 83.95 kB / 0.5763 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.2561, allocations: 36.83 kB / 0.5763 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.2561, allocations: 11.98 kB / 0.5763 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.2573, allocations: 1.421 MB / 0.5777 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.2573, allocations: 0 / 0.5777 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.2585, allocations: 0.5983 MB / 0.5783 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.2587, allocations: 136.7 kB / 0.5784 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.2587, allocations: 15.95 kB / 0.5784 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.259, allocations: 39.95 kB / 0.5785 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.2592, allocations: 31.95 kB / 0.5785 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.2592, allocations: 11.98 kB / 0.5785 GB, free: 4.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.2594, allocations: 168.5 kB / 0.5787 GB, free: 4.098 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.2594, allocations: 4 kB / 0.5787 GB, free: 4.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006213/0.26, allocations: 128 kB / 0.5788 GB, free: 3.969 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001883/0.2602, allocations: 111.9 kB / 0.5789 GB, free: 3.848 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.2622, allocations: 1.02 MB / 0.5799 GB, free: 2.777 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.2622, allocations: 8.25 kB / 0.5799 GB, free: 2.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006218/0.2629, allocations: 330.4 kB / 0.5802 GB, free: 2.434 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.2632, allocations: 51.34 kB / 0.5803 GB, free: 2.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.2646, allocations: 0.739 MB / 0.581 GB, free: 1.621 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.265, allocations: 0.7917 MB / 0.5818 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003093/0.2653, allocations: 98.42 kB / 0.5819 GB, free: 0.707 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.2655, allocations: 27.42 kB / 0.5819 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2655, allocations: 0 / 0.5819 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of Templates: time 0.3525/0.618, allocations: 4.008 MB / 0.5858 GB, free: 31.98 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)