Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001403/0.001403, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001258/0.001258, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002614/0.002614, allocations: 289.9 kB / 291.3 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9487/0.9487, allocations: 169.3 MB / 0.4988 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 97.91 kB / 0.5959 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1621, allocations: 86.98 MB / 0.6809 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006096/0.1682, allocations: 4.879 MB / 0.6856 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.1721, allocations: 2.483 MB / 0.688 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004409/0.1725, allocations: 27.75 kB / 0.6881 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.1737, allocations: 401.9 kB / 0.6885 GB, free: 344 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3138/0.4875, allocations: 444.8 kB / 0.6889 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.4887, allocations: 397.4 kB / 0.6893 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.4898, allocations: 0.9179 MB / 0.6902 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.4905, allocations: 361.5 kB / 0.6905 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004489/0.4909, allocations: 336.5 kB / 0.6908 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004346/0.4914, allocations: 349.9 kB / 0.6911 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.331e-05/0.4914, allocations: 38.78 kB / 0.6912 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007707/0.4922, allocations: 402.4 kB / 0.6916 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.4925, allocations: 183.6 kB / 0.6917 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.4928, allocations: 318.2 kB / 0.692 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.4939, allocations: 0.8861 MB / 0.6929 GB, free: 12.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4939, allocations: 0 / 0.6929 GB, free: 12.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4939, allocations: 0 / 0.6929 GB, free: 12.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.4939, allocations: 0 / 0.6929 GB, free: 12.06 MB / 494.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.001346/0.4953, allocations: 0.9414 MB / 0.6938 GB, free: 11.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4953, allocations: 13.03 kB / 0.6938 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.4966, allocations: 207.2 kB / 0.694 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.4973, allocations: 0.4888 MB / 0.6945 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.4974, allocations: 33.58 kB / 0.6946 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/0.4975, allocations: 50.05 kB / 0.6946 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.4985, allocations: 0.8424 MB / 0.6954 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.4986, allocations: 11 kB / 0.6954 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.158e-05/0.4986, allocations: 24.52 kB / 0.6955 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-05/0.4987, allocations: 69.17 kB / 0.6955 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008415/0.4996, allocations: 0.5667 MB / 0.6961 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003563/0.5031, allocations: 5.651 MB / 0.7016 GB, free: 5.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006557/0.5038, allocations: 454.3 kB / 0.702 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.5042, allocations: 227.8 kB / 0.7022 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.5042, allocations: 3.938 kB / 0.7022 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.5042, allocations: 36.08 kB / 0.7023 GB, free: 5.453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.5042, allocations: 5.062 kB / 0.7023 GB, free: 5.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.002406/0.5066, allocations: 1.509 MB / 0.7038 GB, free: 4.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.5067, allocations: 58.66 kB / 0.7038 GB, free: 4.453 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.5072, allocations: 0.5033 MB / 0.7043 GB, free: 4.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.5073, allocations: 30.61 kB / 0.7043 GB, free: 4.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.5075, allocations: 357.6 kB / 0.7047 GB, free: 3.891 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.825e-05/0.5075, allocations: 116.3 kB / 0.7048 GB, free: 3.805 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.5077, allocations: 119.4 kB / 0.7049 GB, free: 3.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.5078, allocations: 366.4 kB / 0.7053 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.5081, allocations: 195.6 kB / 0.7054 GB, free: 3.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.5085, allocations: 443.6 kB / 0.7059 GB, free: 2.949 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007175/0.5092, allocations: 0.6945 MB / 0.7065 GB, free: 2.418 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.5093, allocations: 6.562 kB / 0.7065 GB, free: 2.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00124/0.5105, allocations: 0.8042 MB / 0.7073 GB, free: 2.059 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5105, allocations: 8.531 kB / 0.7073 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.5106, allocations: 13.11 kB / 0.7074 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004719/0.511, allocations: 151.1 kB / 0.7075 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.5115, allocations: 129.5 kB / 0.7076 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003198/0.5147, allocations: 4.342 MB / 0.7119 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.5152, allocations: 33.86 kB / 0.7119 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.5153, allocations: 27.31 kB / 0.7119 GB, free: 13.69 MB / 0.4981 GB 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.0003574/0.5156, allocations: 225.5 kB / 0.7121 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.5157, allocations: 62.73 kB / 0.7122 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.5169, allocations: 0.5911 MB / 0.7128 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.5169, allocations: 3.75 kB / 0.7128 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.5169, allocations: 1.719 kB / 0.7128 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5169, allocations: 2.109 kB / 0.7128 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.519, allocations: 1.261 MB / 0.714 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.5191, allocations: 5.906 kB / 0.714 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.5193, allocations: 58.83 kB / 0.7141 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004277/0.5198, allocations: 140 kB / 0.7142 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.5198, allocations: 7.375 kB / 0.7142 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003408/0.5232, allocations: 4.337 MB / 0.7184 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.5233, allocations: 2.5 kB / 0.7185 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.5244, allocations: 0.7177 MB / 0.7192 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.5248, allocations: 165.7 kB / 0.7193 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.5249, allocations: 16.72 kB / 0.7193 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.5252, allocations: 22.31 kB / 0.7193 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/0.5253, allocations: 35.67 kB / 0.7194 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.5254, allocations: 12.38 kB / 0.7194 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004732/0.5258, allocations: 338.4 kB / 0.7197 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5258, allocations: 0 / 0.7197 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007562/0.5266, allocations: 140.4 kB / 0.7198 GB, free: 7.398 MB / 0.4981 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 (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.0001682/0.5268, allocations: 117.1 kB / 0.72 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.5284, allocations: 1.073 MB / 0.721 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.5284, allocations: 1.312 kB / 0.721 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008896/0.5293, allocations: 0.7347 MB / 0.7217 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.5305, allocations: 212.4 kB / 0.7219 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.5326, allocations: 1.103 MB / 0.723 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.5333, allocations: 0.9129 MB / 0.7239 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.5334, allocations: 43.88 kB / 0.7239 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.5334, allocations: 0 / 0.7239 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of Templates: time 0.02654/0.56, allocations: 18.32 MB / 0.7418 GB, free: 12.31 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)