Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.201/2.201, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 193 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 102 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 50.19 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2866, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03187/0.3185, allocations: 37.46 MB / 1.255 GB, free: 79.67 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01722/0.3357, allocations: 11.04 MB / 1.265 GB, free: 68.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004771/0.3405, allocations: 139.2 kB / 1.266 GB, free: 68.46 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.009562/0.3501, allocations: 4.077 MB / 1.27 GB, free: 64.38 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007317/0.3575, allocations: 2.096 MB / 1.272 GB, free: 62.28 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006367/0.3639, allocations: 1.964 MB / 1.274 GB, free: 60.32 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01227/0.3762, allocations: 13.24 MB / 1.286 GB, free: 47.04 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0194/0.3956, allocations: 12.45 MB / 1.299 GB, free: 34.48 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007357/0.403, allocations: 3.441 MB / 1.302 GB, free: 31.03 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008482/0.4116, allocations: 4.588 MB / 1.306 GB, free: 26.43 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.003179/0.4148, allocations: 0.5586 MB / 1.307 GB, free: 25.87 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005293/0.4201, allocations: 1.545 MB / 1.309 GB, free: 24.32 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.005557/0.4257, allocations: 2.9 MB / 1.311 GB, free: 21.42 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.01016/0.4359, allocations: 3.36 MB / 1.315 GB, free: 18.04 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.451, allocations: 12.07 MB / 1.326 GB, free: 5.938 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.451, allocations: 0 / 1.326 GB, free: 5.938 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.208e-06/0.451, allocations: 0 / 1.326 GB, free: 5.938 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0005324/0.4516, allocations: 3.938 kB / 1.326 GB, free: 5.934 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02205/0.4736, allocations: 6.315 MB / 1.333 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.267e-05/0.4737, allocations: 11.98 kB / 1.333 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008392/0.4821, allocations: 1.071 MB / 1.334 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/0.4943, allocations: 3.419 MB / 1.337 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005438/0.4949, allocations: 423.7 kB / 1.337 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002638/0.4976, allocations: 0.5471 MB / 1.338 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02606/0.5236, allocations: 9.381 MB / 1.347 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003304/0.524, allocations: 23.72 kB / 1.347 GB, free: 292 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002292/0.5263, allocations: 244 kB / 1.347 GB, free: 48 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008074/0.5272, allocations: 422.9 kB / 1.348 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01761/0.5448, allocations: 7.123 MB / 1.355 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05651/0.6013, allocations: 41.31 MB / 1.395 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005143/0.6065, allocations: 3.096 MB / 1.398 GB, free: 8.336 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003255/0.6098, allocations: 2.145 MB / 1.4 GB, free: 6.188 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.61, allocations: 22 kB / 1.4 GB, free: 6.168 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/0.6101, allocations: 64.56 kB / 1.4 GB, free: 6.094 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=209): time 4.488e-06/0.6101, allocations: 0 / 1.4 GB, free: 6.094 MB / 0.9011 GB Notification: Performance of matching and sorting (n=212): time 0.027/0.6371, allocations: 10.56 MB / 1.411 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.6372, allocations: 77.34 kB / 1.411 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/0.6411, allocations: 2.002 MB / 1.413 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003634/0.6415, allocations: 65.7 kB / 1.413 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.6432, allocations: 2.4 MB / 1.415 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000906/0.6441, allocations: 0.7318 MB / 1.416 GB, free: 6.086 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.6454, allocations: 481.2 kB / 1.416 GB, free: 5.609 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6455, allocations: 301.1 kB / 1.416 GB, free: 5.312 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/0.6477, allocations: 1.376 MB / 1.418 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002748/0.6505, allocations: 2.104 MB / 1.42 GB, free: 1.516 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5369/1.187, allocations: 3.768 MB / 1.424 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/1.187, allocations: 7.812 kB / 1.424 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008475/1.196, allocations: 5.063 MB / 1.428 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/1.196, allocations: 15.31 kB / 1.429 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/1.196, allocations: 22.97 kB / 1.429 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003691/1.2, allocations: 1.582 MB / 1.43 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/1.202, allocations: 458.6 kB / 1.431 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/1.222, allocations: 17.06 MB / 1.447 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/1.224, allocations: 146.6 kB / 1.447 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/1.224, allocations: 111.4 kB / 1.447 GB, free: 170.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002495/1.227, allocations: 1.948 MB / 1.449 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004732/1.227, allocations: 291 kB / 1.45 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006191/1.233, allocations: 4.451 MB / 1.454 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/1.234, allocations: 23.59 kB / 1.454 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.466e-05/1.234, allocations: 15.81 kB / 1.454 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/1.234, allocations: 11.39 kB / 1.454 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/1.25, allocations: 9.666 MB / 1.463 GB, free: 163.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/1.25, allocations: 3.719 kB / 1.463 GB, free: 163.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009376/1.251, allocations: 237 kB / 1.464 GB, free: 163.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/1.254, allocations: 1.427 MB / 1.465 GB, free: 163.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/1.254, allocations: 39.53 kB / 1.465 GB, free: 163.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01595/1.27, allocations: 17.06 MB / 1.482 GB, free: 147.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.27, allocations: 11.88 kB / 1.482 GB, free: 147.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008799/1.279, allocations: 7.563 MB / 1.489 GB, free: 140.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.281, allocations: 0.6226 MB / 1.49 GB, free: 139.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003402/1.281, allocations: 53.02 kB / 1.49 GB, free: 139.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/1.282, allocations: 115.9 kB / 1.49 GB, free: 139.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004787/1.283, allocations: 181.6 kB / 1.49 GB, free: 139.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/1.283, allocations: 60 kB / 1.49 GB, free: 139 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001519/1.284, allocations: 1.315 MB / 1.491 GB, free: 137.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/1.284, allocations: 3.75 kB / 1.491 GB, free: 137.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003423/1.288, allocations: 1.145 MB / 1.493 GB, free: 136.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003127/1.288, allocations: 161.7 kB / 1.493 GB, free: 136.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005958/1.294, allocations: 4.686 MB / 1.497 GB, free: 131.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.294, allocations: 11.52 kB / 1.497 GB, free: 131.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003741/1.298, allocations: 2.915 MB / 1.5 GB, free: 128.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003853/1.302, allocations: 0.8346 MB / 1.501 GB, free: 127.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/1.316, allocations: 13 MB / 1.514 GB, free: 114.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003393/1.32, allocations: 3.761 MB / 1.517 GB, free: 111 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002216/1.322, allocations: 0.5591 MB / 1.518 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/1.322, allocations: 151.4 kB / 1.518 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.453e-06/1.322, allocations: 4 kB / 1.518 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.07403/1.396, allocations: 52.64 MB / 1.569 GB, free: 58.36 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)