Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.685/2.685, allocations: 287.5 MB / 302.4 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 177.9 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.346/2.346, allocations: 205.4 MB / 0.6297 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 89 kB / 0.743 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005519/0.0005521, allocations: 17.62 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2153, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01533/0.2306, allocations: 10.77 MB / 0.9889 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.2412, allocations: 5.236 MB / 0.994 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.2424, allocations: 31.88 kB / 0.994 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.2439, allocations: 286.1 kB / 0.9943 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.246, allocations: 0.5328 MB / 0.9948 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.2481, allocations: 494.8 kB / 0.9953 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003888/0.252, allocations: 2.915 MB / 0.9981 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007219/0.2593, allocations: 3.857 MB / 1.002 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.261, allocations: 0.7707 MB / 1.003 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.2632, allocations: 1.094 MB / 1.004 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004996/0.2638, allocations: 104 kB / 1.004 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.2653, allocations: 319.7 kB / 1.004 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0009481/0.2663, allocations: 0.7444 MB / 1.005 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005205/0.2668, allocations: 368.8 kB / 1.005 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005166/0.272, allocations: 3.253 MB / 1.008 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.272, allocations: 0 / 1.008 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.091e-06/0.2721, allocations: 0 / 1.008 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.934e-05/0.2722, allocations: 3.938 kB / 1.008 GB, free: 13.48 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.006585/0.2788, allocations: 1.769 MB / 1.01 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.2789, allocations: 12.02 kB / 1.01 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005772/0.2846, allocations: 0.7509 MB / 1.011 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003998/0.2887, allocations: 1.227 MB / 1.012 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.2889, allocations: 123.2 kB / 1.012 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007172/0.2896, allocations: 160 kB / 1.012 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009428/0.2991, allocations: 2.948 MB / 1.015 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.378e-05/0.2992, allocations: 3.938 kB / 1.015 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/0.2996, allocations: 71.98 kB / 1.015 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007806/0.3004, allocations: 199 kB / 1.015 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008293/0.3087, allocations: 2.511 MB / 1.018 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0235/0.3323, allocations: 10.89 MB / 1.029 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.3348, allocations: 0.9169 MB / 1.029 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.3362, allocations: 0.5051 MB / 1.03 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.3365, allocations: 93.45 kB / 1.03 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.3366, allocations: 38.94 kB / 1.03 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.617e-06/0.3366, allocations: 0 / 1.03 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.05389/0.3905, allocations: 8.967 MB / 1.039 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.3906, allocations: 85.67 kB / 1.039 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.3928, allocations: 0.9492 MB / 1.04 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002181/0.393, allocations: 41.7 kB / 1.04 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00083/0.3939, allocations: 0.7697 MB / 1.041 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004004/0.3943, allocations: 244.6 kB / 1.041 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.3945, allocations: 23.94 kB / 1.041 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002801/0.3948, allocations: 398.7 kB / 1.041 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002325/0.3971, allocations: 0.7989 MB / 1.042 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002651/0.3998, allocations: 1.164 MB / 1.043 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002735/0.4025, allocations: 0.9907 MB / 1.044 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.4026, allocations: 7.938 kB / 1.044 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01935/0.422, allocations: 3.783 MB / 1.048 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004336/0.4224, allocations: 409.2 kB / 1.048 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.4225, allocations: 12 kB / 1.048 GB, free: 3.051 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01644/0.4389, allocations: 2.165 MB / 1.05 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.4407, allocations: 219.6 kB / 1.051 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02897/0.4697, allocations: 10.25 MB / 1.061 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002449/0.4722, allocations: 199.7 kB / 1.061 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/0.4725, allocations: 47.98 kB / 1.061 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4725, allocations: 4 kB / 1.061 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01485/0.4873, allocations: 3.076 MB / 1.064 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.68e-05/0.4874, allocations: 16.06 kB / 1.064 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01061/0.4981, allocations: 1.358 MB / 1.065 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/0.5003, allocations: 291.5 kB / 1.065 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8026/1.303, allocations: 6.148 MB / 1.071 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/1.305, allocations: 167.1 kB / 1.072 GB, free: 81.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/1.305, allocations: 46.03 kB / 1.072 GB, free: 81.07 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002206/1.308, allocations: 0.9008 MB / 1.073 GB, free: 80.65 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/1.308, allocations: 86.08 kB / 1.073 GB, free: 80.65 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0176/1.326, allocations: 3.323 MB / 1.076 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/1.326, allocations: 7.969 kB / 1.076 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/1.326, allocations: 2.969 kB / 1.076 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.962e-05/1.326, allocations: 7.328 kB / 1.076 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02276/1.349, allocations: 5.489 MB / 1.081 GB, free: 77.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/1.349, allocations: 5 kB / 1.081 GB, free: 77.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008676/1.349, allocations: 102.2 kB / 1.081 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01477/1.364, allocations: 1.978 MB / 1.083 GB, free: 77.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/1.364, allocations: 17 kB / 1.083 GB, free: 77.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02419/1.389, allocations: 9.646 MB / 1.093 GB, free: 72.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/1.389, allocations: 2.312 kB / 1.093 GB, free: 72.45 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/1.404, allocations: 3.216 MB / 1.096 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.405, allocations: 331.5 kB / 1.096 GB, free: 71.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/1.406, allocations: 15.78 kB / 1.096 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.408, allocations: 154 kB / 1.096 GB, free: 71.31 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004626/1.408, allocations: 58.61 kB / 1.096 GB, free: 71.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.408, allocations: 22.08 kB / 1.096 GB, free: 71.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001393/1.41, allocations: 0.6713 MB / 1.097 GB, free: 71.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.253e-06/1.41, allocations: 0 / 1.097 GB, free: 71.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004014/1.414, allocations: 0.6838 MB / 1.098 GB, free: 70.96 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004627/1.414, allocations: 129.4 kB / 1.098 GB, free: 70.87 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01346/1.428, allocations: 3.911 MB / 1.102 GB, free: 69.37 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/1.428, allocations: 0 / 1.102 GB, free: 69.37 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003888/1.432, allocations: 1.316 MB / 1.103 GB, free: 68.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/1.434, allocations: 250.5 kB / 1.103 GB, free: 68.49 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009829/1.444, allocations: 4.073 MB / 1.107 GB, free: 66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002746/1.447, allocations: 1.72 MB / 1.109 GB, free: 64.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002523/1.449, allocations: 0.5166 MB / 1.109 GB, free: 64.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/1.45, allocations: 67.2 kB / 1.109 GB, free: 64.55 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/1.45, allocations: 0 / 1.109 GB, free: 64.55 MB / 0.6823 GB Notification: Performance of Templates: time 0.06699/1.517, allocations: 29.41 MB / 1.138 GB, free: 42.07 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)