Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.213/2.213, allocations: 251.1 MB / 266.7 MB, free: 11.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 188.9 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.501/2.501, allocations: 205.4 MB / 0.5772 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009527/0.0009518, allocations: 93.66 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.000491, allocations: 15.66 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8921/1.112, allocations: 165 MB / 1.061 GB, free: 64.82 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003849/1.113, allocations: 105 kB / 1.061 GB, free: 64.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7558/1.869, allocations: 202.3 MB / 1.258 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.935e-06/1.869, allocations: 0 / 1.258 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005769/1.869, allocations: 147.9 kB / 1.258 GB, free: 1.641 MB / 0.7448 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.0246/1.894, allocations: 5.242 MB / 1.264 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.894, allocations: 8.031 kB / 1.264 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/1.905, allocations: 1.145 MB / 1.265 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/1.92, allocations: 3.701 MB / 1.268 GB, free: 7.41 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000702/1.921, allocations: 432 kB / 1.269 GB, free: 6.988 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003188/1.924, allocations: 0.5511 MB / 1.269 GB, free: 6.438 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03262/1.956, allocations: 8.859 MB / 1.278 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000338/1.957, allocations: 23.91 kB / 1.278 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002658/1.959, allocations: 259.9 kB / 1.278 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005631/1.96, allocations: 299 kB / 1.278 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/1.983, allocations: 6.437 MB / 1.285 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07723/2.061, allocations: 41.47 MB / 1.325 GB, free: 8.91 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009035/2.07, allocations: 3.115 MB / 1.328 GB, free: 5.789 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005878/2.076, allocations: 2.153 MB / 1.33 GB, free: 3.633 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/2.076, allocations: 22 kB / 1.33 GB, free: 3.613 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.047e-05/2.076, allocations: 64.55 kB / 1.33 GB, free: 3.539 MB / 0.823 GB Notification: Performance of pre-optimization done (n=209): time 5.029e-06/2.076, allocations: 0 / 1.33 GB, free: 3.539 MB / 0.823 GB Notification: Performance of matching and sorting (n=212): time 0.04712/2.123, allocations: 10.49 MB / 1.341 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/2.123, allocations: 73.41 kB / 1.341 GB, free: 8.867 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004677/2.128, allocations: 1.939 MB / 1.343 GB, free: 6.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005715/2.129, allocations: 61.7 kB / 1.343 GB, free: 6.844 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002732/2.131, allocations: 2.373 MB / 1.345 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001424/2.133, allocations: 0.7279 MB / 1.346 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/2.133, allocations: 48 kB / 1.346 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003155/2.133, allocations: 415.2 kB / 1.346 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003857/2.137, allocations: 1.317 MB / 1.348 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005015/2.142, allocations: 2.109 MB / 1.35 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00484/2.147, allocations: 1.685 MB / 1.351 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.461e-05/2.147, allocations: 4 kB / 1.351 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01613/2.164, allocations: 4.975 MB / 1.356 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.317e-05/2.164, allocations: 20 kB / 1.356 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-05/2.164, allocations: 28 kB / 1.356 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006671/2.17, allocations: 1.533 MB / 1.358 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003353/2.174, allocations: 447.2 kB / 1.358 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03702/2.211, allocations: 17.02 MB / 1.375 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003606/2.215, allocations: 143.9 kB / 1.375 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005675/2.215, allocations: 112 kB / 1.375 GB, free: 4.93 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006085/2.221, allocations: 1.945 MB / 1.377 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/2.222, allocations: 284.7 kB / 1.377 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/2.237, allocations: 4.447 MB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/2.237, allocations: 20 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.842e-05/2.237, allocations: 16 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.274e-05/2.237, allocations: 15.95 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03128/2.268, allocations: 9.641 MB / 1.391 GB, free: 4.375 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-05/2.268, allocations: 8.125 kB / 1.391 GB, free: 4.367 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/2.27, allocations: 235.6 kB / 1.391 GB, free: 4.137 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006118/2.276, allocations: 1.4 MB / 1.393 GB, free: 2.727 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004337/2.277, allocations: 40 kB / 1.393 GB, free: 2.688 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7082/2.985, allocations: 17.03 MB / 1.409 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/2.985, allocations: 7.281 kB / 1.409 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/3, allocations: 4.532 MB / 1.414 GB, free: 207 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002585/3.002, allocations: 0.6327 MB / 1.414 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/3.003, allocations: 42.41 kB / 1.414 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003013/3.006, allocations: 113.4 kB / 1.414 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009378/3.007, allocations: 180.7 kB / 1.415 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002469/3.008, allocations: 57.03 kB / 1.415 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003237/3.011, allocations: 1.262 MB / 1.416 GB, free: 206.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.41e-07/3.011, allocations: 0.6875 kB / 1.416 GB, free: 206.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006369/3.017, allocations: 1.174 MB / 1.417 GB, free: 206.8 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00076/3.018, allocations: 173.4 kB / 1.417 GB, free: 206.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01193/3.03, allocations: 4.606 MB / 1.422 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/3.03, allocations: 7.031 kB / 1.422 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008037/3.038, allocations: 2.912 MB / 1.424 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007421/3.046, allocations: 0.7997 MB / 1.425 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03778/3.084, allocations: 11.18 MB / 1.436 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01299/3.097, allocations: 3.693 MB / 1.44 GB, free: 200 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005391/3.102, allocations: 0.5427 MB / 1.44 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/3.104, allocations: 146.6 kB / 1.44 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of SimCode: time 2.244e-06/3.104, allocations: 0 / 1.44 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.1672/3.271, allocations: 47.59 MB / 1.487 GB, free: 198.6 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)