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.001029/0.001029, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001212/0.001212, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001731/0.00173, allocations: 279.1 kB / 291.4 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9306/0.9306, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004288, allocations: 14.12 kB / 0.598 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1707, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009263/0.18, allocations: 9 MB / 0.6933 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004686/0.1847, allocations: 2.897 MB / 0.6961 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005546/0.1853, allocations: 31.81 kB / 0.6962 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.1858, allocations: 179.3 kB / 0.6963 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.1869, allocations: 0.5786 MB / 0.6969 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009706/0.1879, allocations: 437.7 kB / 0.6973 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002939/0.1908, allocations: 3.182 MB / 0.7004 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003864/0.1947, allocations: 2.675 MB / 0.703 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.1962, allocations: 0.8719 MB / 0.7039 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.1979, allocations: 1.25 MB / 0.7051 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.1981, allocations: 107.9 kB / 0.7052 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000636/0.1987, allocations: 239.8 kB / 0.7054 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007739/0.1995, allocations: 0.8419 MB / 0.7062 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000363/0.1999, allocations: 360.8 kB / 0.7066 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.2023, allocations: 2.79 MB / 0.7093 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2023, allocations: 0 / 0.7093 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2023, allocations: 0 / 0.7093 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.351e-05/0.2023, allocations: 0 / 0.7093 GB, free: 5.98 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.002798/0.2051, allocations: 1.624 MB / 0.7109 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2052, allocations: 8.031 kB / 0.7109 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005002/0.2102, allocations: 0.8874 MB / 0.7118 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.2125, allocations: 1.094 MB / 0.7128 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/0.2126, allocations: 110.9 kB / 0.713 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/0.2129, allocations: 144 kB / 0.7131 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004598/0.2175, allocations: 3.006 MB / 0.716 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.2175, allocations: 8 kB / 0.716 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.2177, allocations: 59.97 kB / 0.7161 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002254/0.218, allocations: 179 kB / 0.7163 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003948/0.2219, allocations: 2.6 MB / 0.7188 GB, free: 12.07 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.01497/0.2369, allocations: 13.52 MB / 0.732 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.2388, allocations: 1.303 MB / 0.7333 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.2401, allocations: 1.043 MB / 0.7343 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.382e-05/0.2402, allocations: 8.656 kB / 0.7343 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.2402, allocations: 47.2 kB / 0.7343 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 2.444e-06/0.2402, allocations: 0 / 0.7343 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=139): time 0.06354/0.3038, allocations: 19.44 MB / 0.7533 GB, free: 7.438 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.3039, allocations: 68.66 kB / 0.7534 GB, free: 7.359 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.3052, allocations: 0.9184 MB / 0.7543 GB, free: 6.426 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.3054, allocations: 49.64 kB / 0.7543 GB, free: 6.371 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004918/0.3059, allocations: 0.7283 MB / 0.755 GB, free: 5.629 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004663/0.3064, allocations: 492.9 kB / 0.7555 GB, free: 5.141 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.3065, allocations: 32 kB / 0.7555 GB, free: 5.109 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.3067, allocations: 418.7 kB / 0.7559 GB, free: 4.691 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.3086, allocations: 1.327 MB / 0.7572 GB, free: 3.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002035/0.3106, allocations: 1.652 MB / 0.7589 GB, free: 1.602 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.3127, allocations: 1.556 MB / 0.7604 GB, free: 48 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.3127, allocations: 4 kB / 0.7604 GB, free: 44 kB / 0.545 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01108/0.3238, allocations: 5.619 MB / 0.7659 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.3239, allocations: 11.98 kB / 0.7659 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.3239, allocations: 8 kB / 0.7659 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008091/0.332, allocations: 2.72 MB / 0.7685 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008423/0.3329, allocations: 191.6 kB / 0.7687 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4023/0.7352, allocations: 23.29 MB / 0.7915 GB, free: 80.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.7368, allocations: 95.09 kB / 0.7916 GB, free: 80.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.737, allocations: 56.89 kB / 0.7916 GB, free: 80.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001416/0.7384, allocations: 0.7384 MB / 0.7923 GB, free: 79.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.7386, allocations: 117.5 kB / 0.7925 GB, free: 79.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/0.749, allocations: 5.381 MB / 0.7977 GB, free: 78.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.7491, allocations: 13.47 kB / 0.7977 GB, free: 78.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.791e-05/0.7491, allocations: 19.12 kB / 0.7977 GB, free: 78.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.7492, allocations: 7.594 kB / 0.7977 GB, free: 78.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/0.7666, allocations: 8.593 MB / 0.8061 GB, free: 75.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/0.7667, allocations: 5.281 kB / 0.8061 GB, free: 75.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/0.7671, allocations: 117.9 kB / 0.8063 GB, free: 75.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007382/0.7745, allocations: 2.549 MB / 0.8087 GB, free: 73.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.7747, allocations: 29.58 kB / 0.8088 GB, free: 73.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02411/0.7988, allocations: 20.84 MB / 0.8291 GB, free: 58.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.7989, allocations: 4 kB / 0.8291 GB, free: 58.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008359/0.8072, allocations: 5.119 MB / 0.8341 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008372/0.8081, allocations: 475.6 kB / 0.8346 GB, free: 52.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.8083, allocations: 28 kB / 0.8346 GB, free: 52.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007313/0.809, allocations: 80.77 kB / 0.8347 GB, free: 52.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004882/0.8095, allocations: 121 kB / 0.8348 GB, free: 52.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/0.8096, allocations: 36 kB / 0.8348 GB, free: 52.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000689/0.8103, allocations: 0.6395 MB / 0.8355 GB, free: 51.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.72e-07/0.8103, allocations: 112 / 0.8355 GB, free: 51.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002254/0.8126, allocations: 0.7265 MB / 0.8362 GB, free: 51.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002229/0.8128, allocations: 142.8 kB / 0.8363 GB, free: 50.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005584/0.8184, allocations: 4.143 MB / 0.8404 GB, free: 46.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8184, allocations: 0 / 0.8404 GB, free: 46.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004022/0.8225, allocations: 2.659 MB / 0.8429 GB, free: 44.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.8239, allocations: 205.2 kB / 0.8431 GB, free: 43.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005378/0.8293, allocations: 4.526 MB / 0.8476 GB, free: 39.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.8304, allocations: 1.696 MB / 0.8492 GB, free: 37.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006631/0.8311, allocations: 330.2 kB / 0.8495 GB, free: 37.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.8313, allocations: 59.42 kB / 0.8496 GB, free: 37.19 MB / 0.5606 GB Notification: Performance of SimCode: time 1.283e-06/0.8313, allocations: 0 / 0.8496 GB, free: 37.19 MB / 0.5606 GB Notification: Performance of Templates: time 0.04261/0.8739, allocations: 36.01 MB / 0.8848 GB, free: 1.395 MB / 0.5606 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)