Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 88.83 kB / 16.67 MB, free: 6.59 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.001535/0.001535, allocations: 179.9 kB / 17.58 MB, free: 6.188 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.361/1.361, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.73/0.73, allocations: 115.5 MB / 408.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 8 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3758, allocations: 77.52 MB / 0.5606 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004426/0.3802, allocations: 4.506 MB / 0.565 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.3839, allocations: 2.465 MB / 0.5674 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004778/0.3844, allocations: 20.06 kB / 0.5674 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.3847, allocations: 86.36 kB / 0.5675 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.3859, allocations: 413.6 kB / 0.5679 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009929/0.3869, allocations: 374.6 kB / 0.5683 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.3884, allocations: 1.134 MB / 0.5694 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000923/0.3893, allocations: 465.5 kB / 0.5698 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005208/0.3898, allocations: 290.1 kB / 0.5701 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004909/0.3903, allocations: 338.4 kB / 0.5704 GB, free: 30 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.596e-05/0.3904, allocations: 19.69 kB / 0.5704 GB, free: 30 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.3915, allocations: 499.1 kB / 0.5709 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.3917, allocations: 158.7 kB / 0.571 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.392, allocations: 324 kB / 0.5714 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009657/0.393, allocations: 0.66 MB / 0.572 GB, free: 29.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.393, allocations: 1.156 kB / 0.572 GB, free: 29.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.393, allocations: 0 / 0.572 GB, free: 29.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.393, allocations: 0 / 0.572 GB, free: 29.42 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001295/0.3943, allocations: 0.8324 MB / 0.5728 GB, free: 28.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3943, allocations: 15.81 kB / 0.5728 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.3957, allocations: 207.3 kB / 0.573 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006587/0.3964, allocations: 0.4901 MB / 0.5735 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.3964, allocations: 34.25 kB / 0.5735 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.3965, allocations: 43.98 kB / 0.5736 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.3977, allocations: 0.8489 MB / 0.5744 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.3977, allocations: 9 kB / 0.5744 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.3978, allocations: 28.03 kB / 0.5744 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.3979, allocations: 66.11 kB / 0.5745 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008424/0.3987, allocations: 0.5699 MB / 0.5751 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003531/0.4023, allocations: 5.653 MB / 0.5806 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.403, allocations: 455.7 kB / 0.581 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.4033, allocations: 229.2 kB / 0.5812 GB, free: 22.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.4033, allocations: 3.75 kB / 0.5812 GB, free: 22.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.4033, allocations: 39.11 kB / 0.5813 GB, free: 22.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.993e-06/0.4034, allocations: 0 / 0.5813 GB, free: 22.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002558/0.4059, allocations: 1.512 MB / 0.5828 GB, free: 21.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.406, allocations: 58 kB / 0.5828 GB, free: 21.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/0.4065, allocations: 0.5049 MB / 0.5833 GB, free: 20.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.4065, allocations: 30.77 kB / 0.5833 GB, free: 20.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.4067, allocations: 358.4 kB / 0.5837 GB, free: 20.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.4068, allocations: 117.9 kB / 0.5838 GB, free: 20.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.4069, allocations: 49.61 kB / 0.5838 GB, free: 20.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.407, allocations: 365.7 kB / 0.5842 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.4073, allocations: 196.2 kB / 0.5844 GB, free: 20.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.4076, allocations: 449.5 kB / 0.5848 GB, free: 19.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006865/0.4083, allocations: 0.6864 MB / 0.5855 GB, free: 19.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.4083, allocations: 3.25 kB / 0.5855 GB, free: 19.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001224/0.4096, allocations: 0.8122 MB / 0.5863 GB, free: 18.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.4096, allocations: 12.34 kB / 0.5863 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.4096, allocations: 9.375 kB / 0.5863 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004766/0.4101, allocations: 160.3 kB / 0.5864 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.4106, allocations: 122.5 kB / 0.5866 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.4129, allocations: 4.039 MB / 0.5905 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/0.4134, allocations: 33.3 kB / 0.5905 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.4135, allocations: 31.78 kB / 0.5906 GB, free: 14.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002835/0.4138, allocations: 214.7 kB / 0.5908 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.563e-05/0.4139, allocations: 59.42 kB / 0.5908 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.415, allocations: 0.5984 MB / 0.5914 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.415, allocations: 9.203 kB / 0.5914 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.415, allocations: 1.188 kB / 0.5914 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.415, allocations: 5.906 kB / 0.5914 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.4168, allocations: 1.269 MB / 0.5927 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4168, allocations: 2.219 kB / 0.5927 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.4171, allocations: 54.38 kB / 0.5927 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004023/0.4175, allocations: 147.3 kB / 0.5929 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.4175, allocations: 12.2 kB / 0.5929 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/0.4197, allocations: 4.025 MB / 0.5968 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4197, allocations: 9.375 kB / 0.5968 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009651/0.4207, allocations: 0.7039 MB / 0.5975 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.4209, allocations: 166.6 kB / 0.5977 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.421, allocations: 11.94 kB / 0.5977 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.4212, allocations: 21.59 kB / 0.5977 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.4213, allocations: 38.64 kB / 0.5977 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.4213, allocations: 16.19 kB / 0.5977 GB, free: 8.715 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003595/0.4217, allocations: 337.8 kB / 0.5981 GB, free: 8.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4217, allocations: 0 / 0.5981 GB, free: 8.516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007261/0.4224, allocations: 143.5 kB / 0.5982 GB, free: 8.5 MB / 446.1 MB 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001438/0.4226, allocations: 111 kB / 0.5983 GB, free: 8.398 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.4238, allocations: 1.036 MB / 0.5993 GB, free: 7.594 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.4238, allocations: 3.938 kB / 0.5993 GB, free: 7.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006568/0.4245, allocations: 0.739 MB / 0.6 GB, free: 6.922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.4256, allocations: 188.5 kB / 0.6002 GB, free: 6.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.4272, allocations: 1.33 MB / 0.6015 GB, free: 5.863 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.4275, allocations: 0.909 MB / 0.6024 GB, free: 5.059 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.4276, allocations: 47.67 kB / 0.6025 GB, free: 5.051 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4276, allocations: 0 / 0.6025 GB, free: 5.051 MB / 446.1 MB Notification: Performance of Templates: time 0.02116/0.4488, allocations: 18.23 MB / 0.6203 GB, free: 3.969 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)