Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001467/0.001467, allocations: 97.78 kB / 16.26 MB, free: 5.934 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.001729/0.00173, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7576/0.7576, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.89 kB / 0.4911 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3699, allocations: 77.93 MB / 0.5672 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01027/0.3802, allocations: 9.992 MB / 0.577 GB, free: 26.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004599/0.3849, allocations: 3.043 MB / 0.5799 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005524/0.3855, allocations: 38.72 kB / 0.58 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.3872, allocations: 0.6776 MB / 0.5806 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.3886, allocations: 0.69 MB / 0.5813 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.3899, allocations: 0.6425 MB / 0.5819 GB, free: 23.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002512/0.3925, allocations: 2.737 MB / 0.5846 GB, free: 21.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.3951, allocations: 2.55 MB / 0.5871 GB, free: 20.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.3968, allocations: 1.122 MB / 0.5882 GB, free: 19.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.3984, allocations: 1.382 MB / 0.5895 GB, free: 18.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003755/0.3988, allocations: 216.3 kB / 0.5898 GB, free: 18.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.3999, allocations: 487.2 kB / 0.5902 GB, free: 18.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009294/0.4008, allocations: 0.9804 MB / 0.5912 GB, free: 18.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.402, allocations: 1.016 MB / 0.5922 GB, free: 17.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.4044, allocations: 3.389 MB / 0.5955 GB, free: 13.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4045, allocations: 3.984 kB / 0.5955 GB, free: 13.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4045, allocations: 0 / 0.5955 GB, free: 13.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.847e-05/0.4045, allocations: 4 kB / 0.5955 GB, free: 13.97 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002928/0.4074, allocations: 1.947 MB / 0.5974 GB, free: 11.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4075, allocations: 12.62 kB / 0.5974 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005701/0.4132, allocations: 0.8805 MB / 0.5983 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.4151, allocations: 1.11 MB / 0.5993 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.044e-05/0.4151, allocations: 115.3 kB / 0.5995 GB, free: 9.809 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.4154, allocations: 148.2 kB / 0.5996 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003722/0.4191, allocations: 3.025 MB / 0.6025 GB, free: 6.539 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.4191, allocations: 0 / 0.6025 GB, free: 6.539 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.4193, allocations: 63.98 kB / 0.6026 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001808/0.4195, allocations: 178.9 kB / 0.6028 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/0.4225, allocations: 2.604 MB / 0.6053 GB, free: 3.691 MB / 446.1 MB 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.01647/0.439, allocations: 13.56 MB / 0.6186 GB, free: 5.027 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.4411, allocations: 1.299 MB / 0.6198 GB, free: 3.711 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/0.4425, allocations: 1.05 MB / 0.6209 GB, free: 2.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.324e-05/0.4425, allocations: 8.656 kB / 0.6209 GB, free: 2.652 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.4426, allocations: 51.2 kB / 0.6209 GB, free: 2.594 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 4.999e-06/0.4426, allocations: 0 / 0.6209 GB, free: 2.594 MB / 462.1 MB Notification: Performance of matching and sorting (n=139): time 0.07262/0.5152, allocations: 19.37 MB / 0.6398 GB, free: 15.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.5153, allocations: 72.72 kB / 0.6399 GB, free: 14.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.5164, allocations: 0.9221 MB / 0.6408 GB, free: 14.06 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.5165, allocations: 49.7 kB / 0.6409 GB, free: 14.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004188/0.5169, allocations: 0.7243 MB / 0.6416 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003768/0.5173, allocations: 493 kB / 0.642 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005239/0.5178, allocations: 291.5 kB / 0.6423 GB, free: 12.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.518, allocations: 353.9 kB / 0.6426 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.5197, allocations: 1.335 MB / 0.6439 GB, free: 10.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.5216, allocations: 1.662 MB / 0.6456 GB, free: 9.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003761/0.5254, allocations: 3.088 MB / 0.6486 GB, free: 5.816 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.5254, allocations: 4 kB / 0.6486 GB, free: 5.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01112/0.5365, allocations: 5.636 MB / 0.6541 GB, free: 152 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.5366, allocations: 8 kB / 0.6541 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.5366, allocations: 15.94 kB / 0.6541 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008435/0.5451, allocations: 2.731 MB / 0.6568 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007992/0.5459, allocations: 187.7 kB / 0.657 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03388/0.5798, allocations: 25.75 MB / 0.6821 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.5813, allocations: 91.95 kB / 0.6822 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.5815, allocations: 56 kB / 0.6823 GB, free: 2.738 MB / 0.5137 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.001052/0.5825, allocations: 0.7321 MB / 0.683 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/0.5828, allocations: 122.6 kB / 0.6831 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/0.5937, allocations: 5.396 MB / 0.6884 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.5938, allocations: 12 kB / 0.6884 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.601e-05/0.5938, allocations: 20.5 kB / 0.6884 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.5939, allocations: 11.97 kB / 0.6884 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/0.61, allocations: 8.633 MB / 0.6968 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.61, allocations: 8 kB / 0.6968 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.6105, allocations: 119.8 kB / 0.6969 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008282/0.6188, allocations: 2.558 MB / 0.6994 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/0.619, allocations: 32 kB / 0.6995 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03155/0.6505, allocations: 23.02 MB / 0.722 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.6506, allocations: 8 kB / 0.722 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.6613, allocations: 5.122 MB / 0.727 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000895/0.6623, allocations: 475.7 kB / 0.7274 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.6625, allocations: 31.98 kB / 0.7275 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009536/0.6635, allocations: 79.78 kB / 0.7275 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005212/0.664, allocations: 125.1 kB / 0.7276 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.6641, allocations: 43.94 kB / 0.7277 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008817/0.665, allocations: 0.6395 MB / 0.7283 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.665, allocations: 0 / 0.7283 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00226/0.6673, allocations: 0.7227 MB / 0.729 GB, free: 2.008 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.0002553/0.6675, allocations: 127.2 kB / 0.7291 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008029/0.6756, allocations: 4.735 MB / 0.7338 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.6756, allocations: 0 / 0.7338 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005229/0.6808, allocations: 2.65 MB / 0.7364 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.6824, allocations: 237.6 kB / 0.7366 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006902/0.6893, allocations: 3.93 MB / 0.7404 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/0.6908, allocations: 1.704 MB / 0.7421 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007256/0.6915, allocations: 329.5 kB / 0.7424 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.6917, allocations: 59.42 kB / 0.7425 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of SimCode: time 8.11e-07/0.6917, allocations: 0 / 0.7425 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of Templates: time 0.3225/1.014, allocations: 38.97 MB / 0.7805 GB, free: 143.6 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)