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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 283 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.936/0.936, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 94.25 kB / 0.5953 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2125, allocations: 86.99 MB / 0.6802 GB, free: 0.668 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01609/0.2286, allocations: 9.989 MB / 0.69 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005918/0.2346, allocations: 3.049 MB / 0.6929 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008139/0.2354, allocations: 39.81 kB / 0.693 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.2373, allocations: 0.6764 MB / 0.6936 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.239, allocations: 0.696 MB / 0.6943 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.2404, allocations: 0.643 MB / 0.6949 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002982/0.2434, allocations: 2.73 MB / 0.6976 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003326/0.2467, allocations: 2.542 MB / 0.7001 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.2486, allocations: 1.126 MB / 0.7012 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.2509, allocations: 1.379 MB / 0.7025 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006833/0.2515, allocations: 216 kB / 0.7027 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.2533, allocations: 499.3 kB / 0.7032 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.2549, allocations: 0.9746 MB / 0.7042 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.2565, allocations: 1.019 MB / 0.7052 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.26, allocations: 3.389 MB / 0.7085 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.26, allocations: 0 / 0.7085 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2601, allocations: 0 / 0.7085 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.755e-05/0.2601, allocations: 0 / 0.7085 GB, free: 3.613 MB / 0.4981 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.003839/0.264, allocations: 1.944 MB / 0.7104 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.264, allocations: 8.031 kB / 0.7104 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005722/0.2698, allocations: 0.8883 MB / 0.7112 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.2718, allocations: 1.118 MB / 0.7123 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.58e-05/0.2719, allocations: 111.2 kB / 0.7124 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/0.2722, allocations: 144.3 kB / 0.7126 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004597/0.2768, allocations: 3.026 MB / 0.7155 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.2769, allocations: 3.938 kB / 0.7155 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.2771, allocations: 71.91 kB / 0.7156 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002075/0.2773, allocations: 175 kB / 0.7158 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004005/0.2813, allocations: 2.612 MB / 0.7183 GB, free: 9.316 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/0.2968, allocations: 13.55 MB / 0.7316 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.2986, allocations: 1.296 MB / 0.7328 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.2999, allocations: 1.047 MB / 0.7338 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.817e-05/0.3, allocations: 20.53 kB / 0.7339 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3, allocations: 39.22 kB / 0.7339 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 2.535e-06/0.3, allocations: 0 / 0.7339 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=139): time 0.07349/0.3735, allocations: 19.37 MB / 0.7528 GB, free: 4.723 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.3736, allocations: 64.72 kB / 0.7529 GB, free: 4.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.3749, allocations: 0.9261 MB / 0.7538 GB, free: 3.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.375, allocations: 45.7 kB / 0.7538 GB, free: 3.656 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004376/0.3754, allocations: 0.7322 MB / 0.7545 GB, free: 2.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000389/0.3758, allocations: 488.9 kB / 0.755 GB, free: 2.426 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005327/0.3764, allocations: 287.5 kB / 0.7553 GB, free: 2.137 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3766, allocations: 353.9 kB / 0.7556 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.3784, allocations: 1.335 MB / 0.7569 GB, free: 460 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.3804, allocations: 1.659 MB / 0.7586 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003903/0.3843, allocations: 3.092 MB / 0.7616 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.3844, allocations: 4 kB / 0.7616 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01113/0.3955, allocations: 5.642 MB / 0.7671 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.3956, allocations: 8 kB / 0.7671 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.3956, allocations: 11.94 kB / 0.7671 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008659/0.4043, allocations: 2.732 MB / 0.7698 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/0.4051, allocations: 199.6 kB / 0.77 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2899/0.695, allocations: 25.73 MB / 0.7951 GB, free: 78.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.6965, allocations: 93.69 kB / 0.7952 GB, free: 78.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.6966, allocations: 61.97 kB / 0.7952 GB, free: 78.17 MB / 0.5606 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.0009727/0.6976, allocations: 0.7307 MB / 0.7959 GB, free: 77.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.6978, allocations: 115.1 kB / 0.7961 GB, free: 77.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/0.7086, allocations: 5.395 MB / 0.8013 GB, free: 76.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.7086, allocations: 13.44 kB / 0.8013 GB, free: 76.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.14e-05/0.7087, allocations: 21.91 kB / 0.8014 GB, free: 76.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.7087, allocations: 8.844 kB / 0.8014 GB, free: 76.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.7229, allocations: 8.64 MB / 0.8098 GB, free: 71.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.723, allocations: 3.906 kB / 0.8098 GB, free: 71.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.7234, allocations: 119.9 kB / 0.8099 GB, free: 71.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007305/0.7307, allocations: 2.554 MB / 0.8124 GB, free: 70.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.7309, allocations: 31.88 kB / 0.8124 GB, free: 70.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02476/0.7556, allocations: 23 MB / 0.8349 GB, free: 50.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.7557, allocations: 15.92 kB / 0.8349 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008655/0.7643, allocations: 5.126 MB / 0.8399 GB, free: 45.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009256/0.7653, allocations: 475.6 kB / 0.8404 GB, free: 44.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.7655, allocations: 35.92 kB / 0.8404 GB, free: 44.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009188/0.7665, allocations: 71.91 kB / 0.8405 GB, free: 44.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004846/0.7669, allocations: 117.1 kB / 0.8406 GB, free: 44.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.552e-05/0.767, allocations: 47.92 kB / 0.8406 GB, free: 44.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006281/0.7677, allocations: 0.6434 MB / 0.8413 GB, free: 44.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7677, allocations: 0 / 0.8413 GB, free: 44.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002008/0.7697, allocations: 0.7227 MB / 0.842 GB, free: 43.3 MB / 0.5606 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.0002091/0.7699, allocations: 131.1 kB / 0.8421 GB, free: 43.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006189/0.7761, allocations: 4.74 MB / 0.8467 GB, free: 38.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7761, allocations: 0 / 0.8467 GB, free: 38.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004141/0.7803, allocations: 2.658 MB / 0.8493 GB, free: 35.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.7815, allocations: 231.8 kB / 0.8495 GB, free: 35.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005529/0.7871, allocations: 3.953 MB / 0.8534 GB, free: 31.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.7882, allocations: 1.696 MB / 0.8551 GB, free: 29.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006207/0.7888, allocations: 330 kB / 0.8554 GB, free: 29.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.789, allocations: 63.42 kB / 0.8554 GB, free: 29.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.789, allocations: 0 / 0.8554 GB, free: 29.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.04834/0.8373, allocations: 38.96 MB / 0.8935 GB, free: 6.688 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)