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.001036/0.001036, allocations: 108 kB / 17.03 MB, free: 5.656 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.001012/0.001012, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7208/0.7208, allocations: 115.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 75.83 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4057, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01103/0.4167, allocations: 10.06 MB / 0.5674 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006074/0.4229, allocations: 3.172 MB / 0.5705 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.4241, allocations: 38 kB / 0.5705 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.4258, allocations: 0.5979 MB / 0.5711 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.4278, allocations: 0.739 MB / 0.5718 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.4297, allocations: 0.7529 MB / 0.5726 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.4336, allocations: 2.992 MB / 0.5755 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003031/0.4366, allocations: 2.58 MB / 0.578 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.4389, allocations: 1.255 MB / 0.5792 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/0.4414, allocations: 1.553 MB / 0.5808 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004187/0.4419, allocations: 239.2 kB / 0.581 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.4431, allocations: 0.5026 MB / 0.5815 GB, free: 23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.4443, allocations: 1.066 MB / 0.5825 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.4454, allocations: 1.115 MB / 0.5836 GB, free: 21.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.4489, allocations: 3.688 MB / 0.5872 GB, free: 19.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4489, allocations: 1.625 kB / 0.5872 GB, free: 19.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4489, allocations: 0 / 0.5872 GB, free: 19.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.013e-05/0.449, allocations: 0 / 0.5872 GB, free: 19.84 MB / 446.1 MB 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.003911/0.4529, allocations: 2.145 MB / 0.5893 GB, free: 18.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4529, allocations: 10 kB / 0.5893 GB, free: 18.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008099/0.461, allocations: 1.315 MB / 0.5906 GB, free: 17.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/0.4643, allocations: 1.303 MB / 0.5919 GB, free: 16.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.892e-05/0.4644, allocations: 111.3 kB / 0.592 GB, free: 16.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003778/0.4648, allocations: 145.5 kB / 0.5921 GB, free: 16.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004406/0.4692, allocations: 3.444 MB / 0.5955 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.4692, allocations: 3.938 kB / 0.5955 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.4694, allocations: 71.89 kB / 0.5956 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/0.4696, allocations: 203.1 kB / 0.5958 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003984/0.4736, allocations: 3.128 MB / 0.5988 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01568/0.4893, allocations: 13.55 MB / 0.612 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.4918, allocations: 1.725 MB / 0.6137 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/0.4937, allocations: 1.44 MB / 0.6151 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.947e-05/0.4938, allocations: 17 kB / 0.6151 GB, free: 8.449 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4938, allocations: 39.56 kB / 0.6152 GB, free: 8.402 MB / 462.1 MB Notification: Performance of pre-optimization done (n=104): time 3.106e-06/0.4939, allocations: 0 / 0.6152 GB, free: 8.402 MB / 462.1 MB Notification: Performance of matching and sorting (n=183): time 0.1319/0.6258, allocations: 36.67 MB / 0.651 GB, free: 3.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.6259, allocations: 69.41 kB / 0.6511 GB, free: 3.512 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.6274, allocations: 1.065 MB / 0.6521 GB, free: 2.422 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003117/0.6278, allocations: 49.7 kB / 0.6521 GB, free: 2.367 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005275/0.6283, allocations: 0.7797 MB / 0.6529 GB, free: 1.574 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006232/0.6289, allocations: 0.6277 MB / 0.6535 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007565/0.6297, allocations: 363.4 kB / 0.6539 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.6299, allocations: 305.1 kB / 0.6542 GB, free: 280 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/0.6327, allocations: 1.924 MB / 0.656 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002823/0.6355, allocations: 2.289 MB / 0.6583 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005772/0.6413, allocations: 4.398 MB / 0.6626 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.6413, allocations: 4 kB / 0.6626 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01939/0.6607, allocations: 9.021 MB / 0.6714 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.6608, allocations: 12.59 kB / 0.6714 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.6608, allocations: 12 kB / 0.6714 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01598/0.6768, allocations: 4.976 MB / 0.6763 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008499/0.6777, allocations: 191.7 kB / 0.6764 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05639/0.7341, allocations: 38.9 MB / 0.7144 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.7361, allocations: 103.9 kB / 0.7145 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/0.7363, allocations: 64 kB / 0.7146 GB, free: 1.512 MB / 0.545 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.001452/0.7377, allocations: 0.8056 MB / 0.7154 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.7381, allocations: 142.4 kB / 0.7155 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01847/0.7565, allocations: 8.886 MB / 0.7242 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.7566, allocations: 16 kB / 0.7242 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.295e-05/0.7567, allocations: 36 kB / 0.7242 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.456e-05/0.7567, allocations: 7.969 kB / 0.7242 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02598/0.7827, allocations: 13.27 MB / 0.7372 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/0.7827, allocations: 4 kB / 0.7372 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/0.7832, allocations: 119.8 kB / 0.7373 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01573/0.799, allocations: 4.763 MB / 0.742 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003678/0.7994, allocations: 36 kB / 0.742 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3462/1.146, allocations: 34.83 MB / 0.776 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.146, allocations: 4.656 kB / 0.776 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01869/1.164, allocations: 8.404 MB / 0.7842 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/1.166, allocations: 0.6125 MB / 0.7848 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/1.167, allocations: 34.72 kB / 0.7849 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.168, allocations: 94.59 kB / 0.785 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/1.169, allocations: 160.8 kB / 0.7851 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/1.169, allocations: 47.69 kB / 0.7852 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009037/1.17, allocations: 0.7397 MB / 0.7859 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/1.17, allocations: 2.516 kB / 0.7859 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003397/1.173, allocations: 1.007 MB / 0.7869 GB, free: 147.3 MB / 0.5762 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%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003006/1.174, allocations: 144.1 kB / 0.787 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007954/1.182, allocations: 5.87 MB / 0.7927 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.182, allocations: 0 / 0.7927 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006603/1.188, allocations: 3.837 MB / 0.7965 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.19, allocations: 250.4 kB / 0.7967 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00728/1.197, allocations: 4.937 MB / 0.8015 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/1.199, allocations: 1.856 MB / 0.8034 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007487/1.199, allocations: 362.9 kB / 0.8037 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/1.199, allocations: 55.44 kB / 0.8038 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.001e-06/1.199, allocations: 4 kB / 0.8038 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.06543/1.265, allocations: 59.13 MB / 0.8615 GB, free: 73.52 MB / 0.5762 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)