Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9099/0.9099, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001676/0.001676, allocations: 241.7 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7389/0.7389, allocations: 138.4 MB / 456.3 MB, free: 1.426 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5564 GB, free: 244 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.939e-05, allocations: 2.312 kB / 0.5564 GB, free: 240 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.006266/0.006296, allocations: 6.21 MB / 0.5625 GB, free: 9.988 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.009549, allocations: 2.067 MB / 0.5645 GB, free: 7.914 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004353/0.009984, allocations: 51.62 kB / 0.5645 GB, free: 7.863 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006825/0.01067, allocations: 254.3 kB / 0.5648 GB, free: 7.613 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008699/0.01154, allocations: 0.6566 MB / 0.5654 GB, free: 6.953 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007515/0.01229, allocations: 0.5498 MB / 0.5659 GB, free: 6.402 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002344/0.01463, allocations: 2.749 MB / 0.5686 GB, free: 3.645 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.01598, allocations: 1.371 MB / 0.57 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.01749, allocations: 1.579 MB / 0.5715 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.01882, allocations: 1.43 MB / 0.5729 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.01904, allocations: 216 kB / 0.5731 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.01948, allocations: 311.7 kB / 0.5734 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006413/0.02012, allocations: 1.06 MB / 0.5744 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006318/0.02075, allocations: 0.7173 MB / 0.5751 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.02246, allocations: 1.921 MB / 0.577 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.02247, allocations: 0 / 0.577 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.02247, allocations: 4 kB / 0.577 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.397e-05/0.0225, allocations: 0 / 0.577 GB, free: 10.99 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002243/0.02475, allocations: 2.061 MB / 0.579 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.02478, allocations: 8.75 kB / 0.579 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/0.02752, allocations: 0.9128 MB / 0.5799 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.02866, allocations: 0.9438 MB / 0.5809 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/0.02873, allocations: 111.3 kB / 0.581 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.02891, allocations: 144.4 kB / 0.5811 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.03071, allocations: 1.523 MB / 0.5826 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.03074, allocations: 4.188 kB / 0.5826 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.03085, allocations: 64.34 kB / 0.5827 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.03099, allocations: 182.9 kB / 0.5828 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008766/0.03187, allocations: 0.5634 MB / 0.5834 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006791/0.03866, allocations: 8.026 MB / 0.5912 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005794/0.03924, allocations: 414 kB / 0.5916 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.03957, allocations: 289.1 kB / 0.5919 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.914e-05/0.03962, allocations: 20.66 kB / 0.5919 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.03964, allocations: 46.05 kB / 0.592 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=82): time 2.364e-06/0.03965, allocations: 0 / 0.592 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139): time 0.01007/0.04971, allocations: 4.987 MB / 0.5968 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.04975, allocations: 64.72 kB / 0.5969 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.05027, allocations: 0.7448 MB / 0.5976 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.746e-05/0.05035, allocations: 45.7 kB / 0.5977 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.05069, allocations: 0.819 MB / 0.5985 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/0.05099, allocations: 0.5191 MB / 0.599 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/0.05134, allocations: 301 kB / 0.5993 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.05147, allocations: 0.5276 MB / 0.5998 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.05183, allocations: 247.8 kB / 0.6 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/0.05241, allocations: 0.7164 MB / 0.6007 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.05342, allocations: 1.05 MB / 0.6017 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.05343, allocations: 7.938 kB / 0.6017 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.1948/0.2482, allocations: 2.501 MB / 0.6042 GB, free: 88.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.2483, allocations: 12.56 kB / 0.6042 GB, free: 88.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.2483, allocations: 8.703 kB / 0.6042 GB, free: 88.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004336/0.2526, allocations: 1.725 MB / 0.6059 GB, free: 88.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.2531, allocations: 164.8 kB / 0.606 GB, free: 88.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.2652, allocations: 13.88 MB / 0.6196 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/0.266, allocations: 35.69 kB / 0.6196 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.841e-05/0.2661, allocations: 44.67 kB / 0.6197 GB, free: 80.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004104/0.2665, allocations: 240 kB / 0.6199 GB, free: 80.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.2667, allocations: 159.1 kB / 0.6201 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004658/0.2714, allocations: 2.439 MB / 0.6224 GB, free: 80.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.2714, allocations: 15.3 kB / 0.6225 GB, free: 80.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.956e-05/0.2714, allocations: 23.7 kB / 0.6225 GB, free: 80.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.2715, allocations: 6.75 kB / 0.6225 GB, free: 80.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006999/0.2785, allocations: 3.997 MB / 0.6264 GB, free: 78.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.2785, allocations: 4.609 kB / 0.6264 GB, free: 78.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.2787, allocations: 101.4 kB / 0.6265 GB, free: 78.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004728/0.2835, allocations: 1.607 MB / 0.6281 GB, free: 78.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.2836, allocations: 28.94 kB / 0.6281 GB, free: 78.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/0.2955, allocations: 12.82 MB / 0.6406 GB, free: 69.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.2955, allocations: 7.688 kB / 0.6406 GB, free: 69.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004452/0.2999, allocations: 2.526 MB / 0.6431 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/0.3004, allocations: 303.9 kB / 0.6434 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.3005, allocations: 33.45 kB / 0.6434 GB, free: 68.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/0.301, allocations: 24.09 kB / 0.6434 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004182/0.3014, allocations: 129.6 kB / 0.6435 GB, free: 68.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.3014, allocations: 30.81 kB / 0.6436 GB, free: 68.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003551/0.3018, allocations: 435.6 kB / 0.644 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3018, allocations: 0 / 0.644 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001871/0.3037, allocations: 0.7227 MB / 0.6447 GB, free: 67.86 MB / 0.5105 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002094/0.3039, allocations: 140 kB / 0.6448 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002879/0.3068, allocations: 2.329 MB / 0.6471 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3068, allocations: 1.125 kB / 0.6471 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/0.3088, allocations: 1.886 MB / 0.6489 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007246/0.3096, allocations: 226 kB / 0.6492 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.3133, allocations: 3.245 MB / 0.6523 GB, free: 63.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.3137, allocations: 0.5449 MB / 0.6529 GB, free: 62.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002582/0.314, allocations: 100.2 kB / 0.653 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.3143, allocations: 235.4 kB / 0.6532 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/0.3143, allocations: 0 / 0.6532 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.03831/0.3526, allocations: 44.74 MB / 0.6969 GB, free: 20.43 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.295235250610858]