Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 292.3 MB / 308.1 MB, free: 4.293 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.001409/0.001409, allocations: 192.4 kB / 376.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.1 MB / 0.6354 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 98.73 kB / 0.748 GB, free: 61.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 55.91 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3036, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009676/0.3133, allocations: 6.128 MB / 0.9882 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005871/0.3193, allocations: 3.255 MB / 0.9914 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008541/0.3202, allocations: 31.81 kB / 0.9914 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.3227, allocations: 0.872 MB / 0.9923 GB, free: 28 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.3242, allocations: 442 kB / 0.9927 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.3256, allocations: 463 kB / 0.9931 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002018/0.3276, allocations: 1.482 MB / 0.9946 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.3288, allocations: 0.621 MB / 0.9952 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008759/0.3297, allocations: 402.3 kB / 0.9956 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.3308, allocations: 486.1 kB / 0.996 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.331, allocations: 44 kB / 0.9961 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.3323, allocations: 0.5769 MB / 0.9966 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004559/0.3327, allocations: 275.2 kB / 0.9969 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0006972/0.3335, allocations: 381.9 kB / 0.9973 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.3353, allocations: 1.191 MB / 0.9984 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3353, allocations: 0 / 0.9984 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3354, allocations: 0 / 0.9984 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.895e-05/0.3354, allocations: 4 kB / 0.9984 GB, free: 9.691 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00201/0.3374, allocations: 1.052 MB / 0.9995 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3375, allocations: 12.03 kB / 0.9995 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.3389, allocations: 215.7 kB / 0.9997 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008499/0.3397, allocations: 0.5453 MB / 1 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.3398, allocations: 49.67 kB / 1 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-05/0.3399, allocations: 64.28 kB / 1 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.3412, allocations: 1.038 MB / 1.001 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/0.3413, allocations: 7.938 kB / 1.001 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.237e-05/0.3413, allocations: 31.92 kB / 1.001 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-05/0.3414, allocations: 73.27 kB / 1.001 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.3425, allocations: 0.6918 MB / 1.002 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005118/0.3476, allocations: 5.741 MB / 1.008 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008141/0.3484, allocations: 0.5982 MB / 1.008 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007298/0.3492, allocations: 420.6 kB / 1.009 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.3492, allocations: 4 kB / 1.009 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.3493, allocations: 31.25 kB / 1.009 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=41): time 2.996e-06/0.3493, allocations: 0 / 1.009 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.004246/0.3535, allocations: 2.065 MB / 1.011 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.3536, allocations: 55.41 kB / 1.011 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004779/0.3541, allocations: 466.8 kB / 1.011 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.3541, allocations: 41.64 kB / 1.011 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.3544, allocations: 383 kB / 1.012 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.3545, allocations: 153.8 kB / 1.012 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.3547, allocations: 114.2 kB / 1.012 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3548, allocations: 358.8 kB / 1.012 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.3552, allocations: 253.2 kB / 1.013 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.3556, allocations: 464.9 kB / 1.013 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000871/0.3565, allocations: 0.7517 MB / 1.014 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3565, allocations: 0 / 1.014 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001847/0.3584, allocations: 1.066 MB / 1.015 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.3584, allocations: 8.125 kB / 1.015 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.3584, allocations: 12 kB / 1.015 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.3595, allocations: 327.1 kB / 1.015 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.3598, allocations: 99.81 kB / 1.015 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007174/0.367, allocations: 6.954 MB / 1.022 GB, free: 36 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.3675, allocations: 27.98 kB / 1.022 GB, free: 8 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.5265/0.894, allocations: 23.17 kB / 1.022 GB, free: 97.64 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004536/0.8946, allocations: 246.6 kB / 1.022 GB, free: 97.53 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.8947, allocations: 62 kB / 1.022 GB, free: 97.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/0.8966, allocations: 0.9132 MB / 1.023 GB, free: 97.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.8966, allocations: 5.5 kB / 1.023 GB, free: 97.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8966, allocations: 3.688 kB / 1.023 GB, free: 97.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.8966, allocations: 4.688 kB / 1.023 GB, free: 97.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.8994, allocations: 1.714 MB / 1.025 GB, free: 97.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.8994, allocations: 2.812 kB / 1.025 GB, free: 97.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.8995, allocations: 38.03 kB / 1.025 GB, free: 97.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008756/0.9004, allocations: 322.7 kB / 1.025 GB, free: 97.04 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.9005, allocations: 10.62 kB / 1.025 GB, free: 97.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005181/0.9057, allocations: 6.943 MB / 1.032 GB, free: 92.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9057, allocations: 1.969 kB / 1.032 GB, free: 92.05 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.9078, allocations: 1.997 MB / 1.034 GB, free: 91.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.9081, allocations: 175.2 kB / 1.034 GB, free: 91.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.9082, allocations: 9.312 kB / 1.034 GB, free: 91.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.9084, allocations: 22.02 kB / 1.034 GB, free: 91.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.9086, allocations: 49.14 kB / 1.034 GB, free: 91.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.9086, allocations: 16.67 kB / 1.034 GB, free: 91.13 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003233/0.9089, allocations: 311.2 kB / 1.035 GB, free: 91.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9089, allocations: 0 / 1.035 GB, free: 91.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008438/0.9098, allocations: 194.3 kB / 1.035 GB, free: 91.04 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001683/0.91, allocations: 115.6 kB / 1.035 GB, free: 90.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.9118, allocations: 1.191 MB / 1.036 GB, free: 90.49 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.9118, allocations: 3.75 kB / 1.036 GB, free: 90.49 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.9129, allocations: 0.8626 MB / 1.037 GB, free: 90.03 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.914, allocations: 189 kB / 1.037 GB, free: 90.03 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.9162, allocations: 1.8 MB / 1.039 GB, free: 89.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.9167, allocations: 1.008 MB / 1.04 GB, free: 88.36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003206/0.9171, allocations: 101 kB / 1.04 GB, free: 88.35 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.9171, allocations: 34.78 kB / 1.04 GB, free: 88.34 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.9172, allocations: 1.906 kB / 1.04 GB, free: 88.34 MB / 0.7448 GB Notification: Performance of Templates: time 0.01954/0.9367, allocations: 9.981 MB / 1.05 GB, free: 87.94 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)