Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001155/0.001155, allocations: 191.1 kB / 16.25 MB, free: 6.637 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.303/1.303, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 286.8 kB / 290.4 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9525/0.9525, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 93.08 kB / 0.5947 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.161, allocations: 86.99 MB / 0.6796 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02296/0.184, allocations: 22.39 MB / 0.7015 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01133/0.1954, allocations: 6.182 MB / 0.7075 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.1974, allocations: 83.5 kB / 0.7076 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004246/0.2016, allocations: 1.423 MB / 0.709 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003869/0.2055, allocations: 1.514 MB / 0.7105 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.2085, allocations: 1.22 MB / 0.7117 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006083/0.2146, allocations: 5.959 MB / 0.7175 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009534/0.2242, allocations: 7.263 MB / 0.7246 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.2276, allocations: 2.449 MB / 0.727 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004056/0.2317, allocations: 3.034 MB / 0.73 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001268/0.2329, allocations: 456 kB / 0.7304 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.2356, allocations: 1.1 MB / 0.7315 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002531/0.2381, allocations: 2.039 MB / 0.7335 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00321/0.2413, allocations: 2.159 MB / 0.7356 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006069/0.2474, allocations: 7.311 MB / 0.7427 GB, free: 236 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2474, allocations: 0 / 0.7427 GB, free: 236 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2474, allocations: 0 / 0.7427 GB, free: 236 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001134/0.2476, allocations: 0 / 0.7427 GB, free: 236 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.006349/0.2539, allocations: 3.814 MB / 0.7464 GB, free: 12.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.254, allocations: 8.031 kB / 0.7464 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005705/0.2597, allocations: 1.217 MB / 0.7476 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/0.2632, allocations: 2.211 MB / 0.7498 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.2634, allocations: 242.4 kB / 0.75 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004982/0.2639, allocations: 319.8 kB / 0.7503 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00905/0.2729, allocations: 6.212 MB / 0.7564 GB, free: 1.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.641e-05/0.273, allocations: 15.88 kB / 0.7564 GB, free: 1.824 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/0.2734, allocations: 139.9 kB / 0.7565 GB, free: 1.688 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004319/0.2738, allocations: 410.3 kB / 0.7569 GB, free: 1.285 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006634/0.2805, allocations: 4.658 MB / 0.7615 GB, free: 12.61 MB / 0.5606 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.3016/0.5821, allocations: 29.14 MB / 0.7899 GB, free: 71.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.5839, allocations: 1.415 MB / 0.7913 GB, free: 70.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.5856, allocations: 1.483 MB / 0.7928 GB, free: 70.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.5857, allocations: 12.5 kB / 0.7928 GB, free: 70.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.5858, allocations: 43.66 kB / 0.7928 GB, free: 70.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 3.627e-06/0.5858, allocations: 1.734 kB / 0.7928 GB, free: 70.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=179): time 0.1301/0.7159, allocations: 37.24 MB / 0.8292 GB, free: 52.37 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.716, allocations: 69.41 kB / 0.8293 GB, free: 52.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.7176, allocations: 1.415 MB / 0.8306 GB, free: 50.87 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001845/0.7178, allocations: 49.7 kB / 0.8307 GB, free: 50.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005849/0.7184, allocations: 1.548 MB / 0.8322 GB, free: 49.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/0.7188, allocations: 0.6072 MB / 0.8328 GB, free: 48.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006353/0.7195, allocations: 383.3 kB / 0.8332 GB, free: 48.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.846e-05/0.7195, allocations: 305.1 kB / 0.8334 GB, free: 47.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/0.7214, allocations: 1.78 MB / 0.8352 GB, free: 46.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.7235, allocations: 2.35 MB / 0.8375 GB, free: 43.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/0.7277, allocations: 4.391 MB / 0.8418 GB, free: 38.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.7277, allocations: 6.812 kB / 0.8418 GB, free: 38.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01457/0.7423, allocations: 8.559 MB / 0.8501 GB, free: 30.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.7423, allocations: 12 kB / 0.8501 GB, free: 30.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.7423, allocations: 16 kB / 0.8502 GB, free: 30.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01279/0.7551, allocations: 4.68 MB / 0.8547 GB, free: 25.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009981/0.7561, allocations: 307.4 kB / 0.855 GB, free: 25.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03805/0.7942, allocations: 32.61 MB / 0.8869 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.7963, allocations: 151.8 kB / 0.887 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003463/0.7967, allocations: 84 kB / 0.8871 GB, free: 7.668 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002258/0.799, allocations: 1.334 MB / 0.8884 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005457/0.7995, allocations: 193.7 kB / 0.8886 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0173/0.8168, allocations: 8.441 MB / 0.8968 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.8169, allocations: 24 kB / 0.8968 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.482e-05/0.8169, allocations: 31.41 kB / 0.8969 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.854e-05/0.817, allocations: 11.95 kB / 0.8969 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02488/0.8419, allocations: 12.84 MB / 0.9094 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-05/0.8419, allocations: 10.45 kB / 0.9094 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/0.8427, allocations: 167.7 kB / 0.9096 GB, free: 464 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0146/0.8573, allocations: 4.519 MB / 0.914 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000323/0.8577, allocations: 40 kB / 0.914 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04743/0.9051, allocations: 32.22 MB / 0.9455 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.9052, allocations: 11.94 kB / 0.9455 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0172/0.9224, allocations: 8.236 MB / 0.9536 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/0.9239, allocations: 0.6118 MB / 0.9542 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006975/0.9247, allocations: 43.94 kB / 0.9542 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/0.9265, allocations: 135.8 kB / 0.9543 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009719/0.9275, allocations: 176.8 kB / 0.9545 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002155/0.9277, allocations: 48 kB / 0.9545 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001749/0.9294, allocations: 0.9588 MB / 0.9555 GB, free: 496 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9295, allocations: 0 / 0.9555 GB, free: 496 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004072/0.9335, allocations: 1.117 MB / 0.9566 GB, free: 15.36 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004337/0.934, allocations: 151 kB / 0.9567 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01384/0.9478, allocations: 7.07 MB / 0.9636 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.9479, allocations: 0 / 0.9636 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.009539/0.9574, allocations: 4.364 MB / 0.9679 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003415/0.9609, allocations: 0.5268 MB / 0.9684 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/0.9753, allocations: 8.434 MB / 0.9766 GB, free: 10.65 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004086/0.9794, allocations: 2.723 MB / 0.9793 GB, free: 7.895 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001352/0.9808, allocations: 388.2 kB / 0.9797 GB, free: 7.523 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003436/0.9811, allocations: 99.42 kB / 0.9798 GB, free: 7.426 MB / 0.67 GB Notification: Performance of SimCode: time 1.203e-06/0.9811, allocations: 0 / 0.9798 GB, free: 7.426 MB / 0.67 GB Notification: Performance of Templates: time 0.09408/1.075, allocations: 61.11 MB / 1.039 GB, free: 10.67 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)