Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 101 kB / 16.4 MB, free: 6.484 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.001805/0.001805, allocations: 192 kB / 17.34 MB, free: 5.727 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7592/0.7592, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 68.56 kB / 0.5685 GB, free: 28.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1425, allocations: 77.94 MB / 0.6446 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01113/0.1537, allocations: 10.06 MB / 0.6544 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005324/0.159, allocations: 3.178 MB / 0.6575 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006015/0.1596, allocations: 35.81 kB / 0.6576 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.1613, allocations: 0.5907 MB / 0.6582 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.1627, allocations: 0.7427 MB / 0.6589 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.1643, allocations: 0.7383 MB / 0.6596 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00317/0.1675, allocations: 3 MB / 0.6625 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002756/0.1702, allocations: 2.594 MB / 0.6651 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.1721, allocations: 1.25 MB / 0.6663 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.174, allocations: 1.558 MB / 0.6678 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003403/0.1744, allocations: 236 kB / 0.668 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.1754, allocations: 0.4993 MB / 0.6685 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009594/0.1764, allocations: 1.068 MB / 0.6696 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.1777, allocations: 1.12 MB / 0.6707 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003714/0.1814, allocations: 3.695 MB / 0.6743 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1814, allocations: 0 / 0.6743 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1814, allocations: 0 / 0.6743 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.701e-05/0.1815, allocations: 0 / 0.6743 GB, free: 10.48 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003954/0.1855, allocations: 2.198 MB / 0.6764 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1855, allocations: 8.031 kB / 0.6764 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008917/0.1944, allocations: 1.322 MB / 0.6777 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/0.1969, allocations: 1.306 MB / 0.679 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.784e-05/0.197, allocations: 119.3 kB / 0.6791 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003391/0.1973, allocations: 152.3 kB / 0.6792 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005259/0.2026, allocations: 3.429 MB / 0.6826 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/0.2027, allocations: 7.938 kB / 0.6826 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/0.2029, allocations: 63.97 kB / 0.6827 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002408/0.2031, allocations: 207.1 kB / 0.6829 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004755/0.2079, allocations: 3.128 MB / 0.6859 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/0.2238, allocations: 13.56 MB / 0.6992 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.2262, allocations: 1.728 MB / 0.7008 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.2281, allocations: 1.436 MB / 0.7022 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.2282, allocations: 13 kB / 0.7023 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.2283, allocations: 51.44 kB / 0.7023 GB, free: 12.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=104): time 4.218e-06/0.2283, allocations: 0 / 0.7023 GB, free: 12.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=183): time 0.148/0.3763, allocations: 36.72 MB / 0.7382 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.3764, allocations: 73.41 kB / 0.7382 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.3779, allocations: 1.05 MB / 0.7393 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003626/0.3783, allocations: 57.7 kB / 0.7393 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006813/0.379, allocations: 0.8093 MB / 0.7401 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007574/0.3797, allocations: 0.6507 MB / 0.7407 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008875/0.3806, allocations: 367.4 kB / 0.7411 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3808, allocations: 305.1 kB / 0.7414 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002955/0.3838, allocations: 1.932 MB / 0.7433 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/0.3866, allocations: 2.285 MB / 0.7455 GB, free: 96 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3264/0.713, allocations: 4.385 MB / 0.7498 GB, free: 90.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.713, allocations: 2.875 kB / 0.7498 GB, free: 90.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0215/0.7345, allocations: 9.034 MB / 0.7586 GB, free: 88.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.7346, allocations: 11.19 kB / 0.7586 GB, free: 88.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.7346, allocations: 9 kB / 0.7586 GB, free: 88.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01697/0.7516, allocations: 4.972 MB / 0.7635 GB, free: 87.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/0.7525, allocations: 199.7 kB / 0.7637 GB, free: 87.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04679/0.7993, allocations: 38.93 MB / 0.8017 GB, free: 56.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/0.8014, allocations: 99.89 kB / 0.8018 GB, free: 56.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/0.8016, allocations: 68 kB / 0.8019 GB, free: 56.07 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001061/0.8027, allocations: 0.8028 MB / 0.8026 GB, free: 55.26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.803, allocations: 151.1 kB / 0.8028 GB, free: 55.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/0.8205, allocations: 8.895 MB / 0.8115 GB, free: 46.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.8206, allocations: 18.08 kB / 0.8115 GB, free: 46.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.419e-05/0.8207, allocations: 32.88 kB / 0.8115 GB, free: 46.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.582e-05/0.8207, allocations: 11.91 kB / 0.8115 GB, free: 46.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02267/0.8434, allocations: 13.4 MB / 0.8246 GB, free: 32.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.8434, allocations: 4 kB / 0.8246 GB, free: 32.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.8439, allocations: 119.9 kB / 0.8247 GB, free: 32.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01539/0.8593, allocations: 4.839 MB / 0.8295 GB, free: 27.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002304/0.8596, allocations: 32 kB / 0.8295 GB, free: 27.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04653/0.9061, allocations: 36.86 MB / 0.8655 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.9061, allocations: 11.38 kB / 0.8655 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/0.9258, allocations: 8.607 MB / 0.8739 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.9272, allocations: 0.6405 MB / 0.8745 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/0.9275, allocations: 39.98 kB / 0.8746 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.9289, allocations: 91.89 kB / 0.8746 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008027/0.9297, allocations: 162.7 kB / 0.8748 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.9298, allocations: 49.78 kB / 0.8748 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001005/0.9309, allocations: 0.7382 MB / 0.8756 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.684e-06/0.9309, allocations: 0 / 0.8756 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003102/0.934, allocations: 1.008 MB / 0.8766 GB, free: 10.77 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003002/0.9343, allocations: 141.4 kB / 0.8767 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01011/0.9444, allocations: 5.959 MB / 0.8825 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.9444, allocations: 0 / 0.8825 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007986/0.9524, allocations: 3.95 MB / 0.8864 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.954, allocations: 240.5 kB / 0.8866 GB, free: 436 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0078/0.9618, allocations: 5.139 MB / 0.8916 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/0.9637, allocations: 1.859 MB / 0.8934 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001004/0.9647, allocations: 355.9 kB / 0.8938 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.965, allocations: 63.42 kB / 0.8938 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of SimCode: time 1.533e-06/0.965, allocations: 4 kB / 0.8938 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.084/1.049, allocations: 61.21 MB / 0.9536 GB, free: 11.85 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)