Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 108 kB / 17.03 MB, free: 5.656 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.001047/0.001047, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.341/1.341, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6843/0.6843, allocations: 115.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.84 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3562, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01797/0.3742, allocations: 15.99 MB / 0.5732 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008035/0.3823, allocations: 4.821 MB / 0.5779 GB, free: 22.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.384, allocations: 66.81 kB / 0.578 GB, free: 22.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.3867, allocations: 1.055 MB / 0.579 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.3889, allocations: 0.7384 MB / 0.5797 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.3914, allocations: 0.9127 MB / 0.5806 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00392/0.3953, allocations: 3.608 MB / 0.5841 GB, free: 19.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005976/0.4013, allocations: 4.767 MB / 0.5888 GB, free: 17.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002751/0.4041, allocations: 1.583 MB / 0.5903 GB, free: 16.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002864/0.4069, allocations: 1.782 MB / 0.5921 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001069/0.408, allocations: 343.9 kB / 0.5924 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.4101, allocations: 0.7944 MB / 0.5932 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.4113, allocations: 1.33 MB / 0.5945 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.4125, allocations: 1.455 MB / 0.5959 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003045/0.4156, allocations: 5.126 MB / 0.6009 GB, free: 8.082 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4156, allocations: 0 / 0.6009 GB, free: 8.082 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4156, allocations: 4 kB / 0.6009 GB, free: 8.078 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.166e-05/0.4157, allocations: 0 / 0.6009 GB, free: 8.078 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003565/0.4192, allocations: 2.662 MB / 0.6035 GB, free: 5.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.4193, allocations: 8.031 kB / 0.6035 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003425/0.4227, allocations: 0.8329 MB / 0.6043 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/0.4255, allocations: 1.568 MB / 0.6059 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.233e-05/0.4257, allocations: 181.1 kB / 0.606 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000445/0.4261, allocations: 232.3 kB / 0.6062 GB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006265/0.4324, allocations: 4.161 MB / 0.6103 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.703e-05/0.4325, allocations: 11.92 kB / 0.6103 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/0.4327, allocations: 95.98 kB / 0.6104 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000182/0.4329, allocations: 168.5 kB / 0.6106 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005775/0.4387, allocations: 3.636 MB / 0.6141 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02032/0.4591, allocations: 16.41 MB / 0.6302 GB, free: 8.422 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.4624, allocations: 2.29 MB / 0.6324 GB, free: 5.926 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008188/0.4632, allocations: 0.5843 MB / 0.633 GB, free: 5.336 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.4634, allocations: 97.66 kB / 0.6331 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.4634, allocations: 39.12 kB / 0.6331 GB, free: 5.172 MB / 478.1 MB Notification: Performance of pre-optimization done (n=72): time 3.416e-06/0.4634, allocations: 0 / 0.6331 GB, free: 5.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=76): time 0.005707/0.4691, allocations: 3.428 MB / 0.6364 GB, free: 1.645 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.4693, allocations: 115.5 kB / 0.6365 GB, free: 1.508 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.4706, allocations: 1.022 MB / 0.6375 GB, free: 472 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.847e-05/0.4707, allocations: 37.7 kB / 0.6376 GB, free: 428 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007076/0.4714, allocations: 1.107 MB / 0.6387 GB, free: 15.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.4716, allocations: 268.2 kB / 0.6389 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.472, allocations: 279.2 kB / 0.6392 GB, free: 14.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.4722, allocations: 410.7 kB / 0.6396 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009397/0.4731, allocations: 0.6207 MB / 0.6402 GB, free: 13.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.4745, allocations: 1.189 MB / 0.6413 GB, free: 12.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.4768, allocations: 1.86 MB / 0.6432 GB, free: 10.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.4769, allocations: 4 kB / 0.6432 GB, free: 10.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003136/0.48, allocations: 2.015 MB / 0.6451 GB, free: 8.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.48, allocations: 12 kB / 0.6451 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.4801, allocations: 27.97 kB / 0.6452 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004187/0.4805, allocations: 163.4 kB / 0.6453 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.4816, allocations: 343.4 kB / 0.6457 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.534e-05/0.4817, allocations: 39.86 kB / 0.6457 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009455/0.4826, allocations: 135.6 kB / 0.6458 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.4828, allocations: 67.98 kB / 0.6459 GB, free: 7.309 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001305/0.4841, allocations: 0.9732 MB / 0.6468 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.4843, allocations: 122.6 kB / 0.647 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/0.4862, allocations: 1.23 MB / 0.6482 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.4862, allocations: 11.94 kB / 0.6482 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4862, allocations: 0 / 0.6482 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.4862, allocations: 7.984 kB / 0.6482 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00556/0.4918, allocations: 3.794 MB / 0.6519 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.4918, allocations: 0 / 0.6519 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/0.4925, allocations: 164 kB / 0.652 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003496/0.4929, allocations: 139.3 kB / 0.6522 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-05/0.4929, allocations: 16 kB / 0.6522 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.718e-05/0.493, allocations: 11.88 kB / 0.6522 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.493, allocations: 4 kB / 0.6522 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.495, allocations: 1.469 MB / 0.6536 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/0.4956, allocations: 267.7 kB / 0.6539 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.4958, allocations: 20 kB / 0.6539 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/0.4963, allocations: 71.89 kB / 0.654 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.4965, allocations: 52.44 kB / 0.654 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.4965, allocations: 27.98 kB / 0.654 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009621/0.4975, allocations: 0.6953 MB / 0.6547 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4975, allocations: 0 / 0.6547 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001462/0.499, allocations: 384.1 kB / 0.6551 GB, free: 13.59 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002403/0.4992, allocations: 143 kB / 0.6552 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002547/0.5018, allocations: 1.715 MB / 0.6569 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5018, allocations: 4.125 kB / 0.6569 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.5028, allocations: 0.8541 MB / 0.6577 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.5042, allocations: 264 kB / 0.658 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006722/0.5109, allocations: 3.78 MB / 0.6617 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/0.5128, allocations: 1.912 MB / 0.6636 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001122/0.514, allocations: 449.6 kB / 0.664 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.5142, allocations: 79.42 kB / 0.6641 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.5142, allocations: 0 / 0.6641 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of Templates: time 0.02486/0.5391, allocations: 13.28 MB / 0.677 GB, free: 7.031 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)