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.001613/0.001613, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001599/0.001599, allocations: 191.1 kB / 16.14 MB, free: 6.645 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002568/0.002568, allocations: 286.7 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.121/1.121, allocations: 178.6 MB / 0.5068 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00369/0.00369, allocations: 104.4 kB / 0.6057 GB, free: 25.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2041, allocations: 89.14 MB / 0.6928 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007021/0.2112, allocations: 4.904 MB / 0.6976 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004206/0.2154, allocations: 2.509 MB / 0.7 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003057/0.2157, allocations: 23.81 kB / 0.7001 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.2169, allocations: 366.5 kB / 0.7004 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008774/0.2178, allocations: 414 kB / 0.7008 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008061/0.2186, allocations: 362.5 kB / 0.7011 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.2198, allocations: 1.136 MB / 0.7023 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006015/0.2204, allocations: 351.5 kB / 0.7026 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000423/0.2208, allocations: 310.5 kB / 0.7029 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.2213, allocations: 350.5 kB / 0.7032 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.2214, allocations: 24 kB / 0.7032 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000807/0.2222, allocations: 499 kB / 0.7037 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.2224, allocations: 175.4 kB / 0.7039 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.2227, allocations: 314.2 kB / 0.7042 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009957/0.2237, allocations: 0.8876 MB / 0.7051 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2237, allocations: 0 / 0.7051 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.32e-07/0.2237, allocations: 0 / 0.7051 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.2238, allocations: 4 kB / 0.7051 GB, free: 8.242 MB / 0.4981 GB 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.001465/0.2252, allocations: 0.9518 MB / 0.706 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2253, allocations: 8.031 kB / 0.706 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.2266, allocations: 207.8 kB / 0.7062 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007133/0.2273, allocations: 0.4905 MB / 0.7067 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.2273, allocations: 37.36 kB / 0.7067 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.2274, allocations: 40.38 kB / 0.7067 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.2286, allocations: 0.8448 MB / 0.7076 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.2286, allocations: 11.84 kB / 0.7076 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/0.2287, allocations: 23.98 kB / 0.7076 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.692e-05/0.2288, allocations: 64.95 kB / 0.7077 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/0.2297, allocations: 0.5734 MB / 0.7082 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004791/0.2345, allocations: 5.654 MB / 0.7138 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/0.2352, allocations: 462.2 kB / 0.7142 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.2356, allocations: 224.7 kB / 0.7144 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.2356, allocations: 4.531 kB / 0.7144 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.2357, allocations: 38.56 kB / 0.7144 GB, free: 14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.2357, allocations: 0 / 0.7144 GB, free: 14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.002626/0.2383, allocations: 1.513 MB / 0.7159 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2384, allocations: 59.69 kB / 0.716 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005524/0.2389, allocations: 0.4952 MB / 0.7165 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.2389, allocations: 29.7 kB / 0.7165 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.2392, allocations: 358.8 kB / 0.7168 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2393, allocations: 126.3 kB / 0.717 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.2395, allocations: 110.2 kB / 0.7171 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.2397, allocations: 362.8 kB / 0.7174 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.24, allocations: 197.2 kB / 0.7176 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/0.2405, allocations: 447.9 kB / 0.718 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008988/0.2414, allocations: 0.6874 MB / 0.7187 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2415, allocations: 0 / 0.7187 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001381/0.2428, allocations: 0.817 MB / 0.7195 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.2429, allocations: 9.25 kB / 0.7195 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.2429, allocations: 8 kB / 0.7195 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005255/0.2434, allocations: 156.8 kB / 0.7197 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.2439, allocations: 123.8 kB / 0.7198 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003719/0.2476, allocations: 4.036 MB / 0.7237 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.248, allocations: 35.97 kB / 0.7238 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.2481, allocations: 28 kB / 0.7238 GB, free: 3.598 MB / 0.5137 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.0003269/0.2484, allocations: 214.3 kB / 0.724 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.832e-05/0.2485, allocations: 67.34 kB / 0.724 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.2499, allocations: 0.5892 MB / 0.7246 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2499, allocations: 4 kB / 0.7246 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2499, allocations: 4 kB / 0.7246 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2499, allocations: 3.938 kB / 0.7246 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.2519, allocations: 1.269 MB / 0.7259 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2519, allocations: 3.938 kB / 0.7259 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.2521, allocations: 55.89 kB / 0.7259 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004354/0.2526, allocations: 148.3 kB / 0.7261 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.2526, allocations: 8 kB / 0.7261 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.2562, allocations: 4.021 MB / 0.73 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.2562, allocations: 4.031 kB / 0.73 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.2573, allocations: 0.7038 MB / 0.7307 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.2575, allocations: 168.3 kB / 0.7309 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.751e-05/0.2576, allocations: 27.86 kB / 0.7309 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.2579, allocations: 23.97 kB / 0.7309 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.2579, allocations: 31.91 kB / 0.7309 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.258, allocations: 8 kB / 0.7309 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003773/0.2583, allocations: 338.8 kB / 0.7313 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2584, allocations: 0 / 0.7313 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006191/0.259, allocations: 144 kB / 0.7314 GB, free: 11.18 MB / 0.5294 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.0001439/0.2591, allocations: 115.2 kB / 0.7315 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001505/0.2606, allocations: 1.025 MB / 0.7325 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2607, allocations: 0 / 0.7325 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009388/0.2616, allocations: 0.7359 MB / 0.7332 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009882/0.2626, allocations: 199 kB / 0.7334 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.2644, allocations: 1.269 MB / 0.7347 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.265, allocations: 0.9059 MB / 0.7355 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003525/0.2653, allocations: 121.3 kB / 0.7357 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.2655, allocations: 43.44 kB / 0.7357 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.2655, allocations: 0 / 0.7357 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of Templates: time 0.01449/0.28, allocations: 7.371 MB / 0.7429 GB, free: 15.25 MB / 0.545 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)