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.001338/0.001338, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001389/0.001389, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 291.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9305/0.9305, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 103.8 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4446, allocations: 86.97 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01186/0.4565, allocations: 9.997 MB / 0.7768 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005255/0.4618, allocations: 3.041 MB / 0.7798 GB, free: 6.824 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000768/0.4626, allocations: 35.81 kB / 0.7798 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.4646, allocations: 0.6958 MB / 0.7805 GB, free: 6.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.4663, allocations: 0.7196 MB / 0.7812 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.4678, allocations: 0.6383 MB / 0.7818 GB, free: 4.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003054/0.4708, allocations: 2.738 MB / 0.7845 GB, free: 1.984 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002874/0.4737, allocations: 2.531 MB / 0.787 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.4755, allocations: 1.141 MB / 0.7881 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.4774, allocations: 1.375 MB / 0.7894 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.4777, allocations: 216 kB / 0.7896 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009012/0.4786, allocations: 495.4 kB / 0.7901 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008993/0.4795, allocations: 0.9824 MB / 0.7911 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.4806, allocations: 1.015 MB / 0.7921 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003429/0.484, allocations: 3.407 MB / 0.7954 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4841, allocations: 0 / 0.7954 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.003e-06/0.4841, allocations: 0 / 0.7954 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.351e-05/0.4841, allocations: 3.938 kB / 0.7954 GB, free: 6.77 MB / 0.5606 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.003477/0.4876, allocations: 1.947 MB / 0.7973 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.4877, allocations: 12.03 kB / 0.7973 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005765/0.4934, allocations: 0.8883 MB / 0.7982 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.4954, allocations: 1.157 MB / 0.7993 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/0.4955, allocations: 107.3 kB / 0.7994 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002637/0.4958, allocations: 152.2 kB / 0.7996 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004598/0.5004, allocations: 3.02 MB / 0.8025 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-05/0.5004, allocations: 4 kB / 0.8025 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.5006, allocations: 59.97 kB / 0.8026 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002118/0.5008, allocations: 186.9 kB / 0.8027 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/0.505, allocations: 2.608 MB / 0.8053 GB, free: 12.43 MB / 0.5762 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.01601/0.521, allocations: 13.49 MB / 0.8185 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.523, allocations: 1.287 MB / 0.8197 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.5244, allocations: 1.054 MB / 0.8208 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-05/0.5245, allocations: 8.656 kB / 0.8208 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.5245, allocations: 47.16 kB / 0.8208 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 5.009e-06/0.5245, allocations: 0 / 0.8208 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=139): time 0.078/0.6025, allocations: 19.4 MB / 0.8398 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.6026, allocations: 64.72 kB / 0.8398 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.604, allocations: 0.9144 MB / 0.8407 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000223/0.6043, allocations: 49.7 kB / 0.8408 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005307/0.6048, allocations: 0.7322 MB / 0.8415 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005785/0.6054, allocations: 489 kB / 0.8419 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006312/0.606, allocations: 287.5 kB / 0.8422 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.6062, allocations: 353.9 kB / 0.8425 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/0.6082, allocations: 1.335 MB / 0.8439 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.6104, allocations: 1.659 MB / 0.8455 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004311/0.6147, allocations: 3.093 MB / 0.8485 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.6148, allocations: 0 / 0.8485 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01238/0.6272, allocations: 5.633 MB / 0.854 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.6272, allocations: 10.97 kB / 0.854 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/0.6273, allocations: 11.94 kB / 0.854 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0097/0.637, allocations: 2.722 MB / 0.8567 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/0.6379, allocations: 195.6 kB / 0.8569 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03829/0.6762, allocations: 25.7 MB / 0.882 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.6779, allocations: 91.89 kB / 0.882 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/0.6782, allocations: 59.98 kB / 0.8821 GB, free: 11.61 MB / 0.6544 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.001299/0.6795, allocations: 0.7393 MB / 0.8828 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.6798, allocations: 114.6 kB / 0.8829 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.6915, allocations: 5.388 MB / 0.8882 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.6915, allocations: 16 kB / 0.8882 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.492e-05/0.6916, allocations: 20 kB / 0.8882 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.493e-05/0.6916, allocations: 7.969 kB / 0.8882 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/0.708, allocations: 8.697 MB / 0.8967 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.708, allocations: 4 kB / 0.8967 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004817/0.7085, allocations: 120.3 kB / 0.8969 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009188/0.7177, allocations: 2.583 MB / 0.8994 GB, free: 9.75 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.7179, allocations: 32 kB / 0.8994 GB, free: 9.719 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03412/0.7521, allocations: 24.16 MB / 0.923 GB, free: 1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.7521, allocations: 4 kB / 0.923 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/0.7633, allocations: 5.249 MB / 0.9281 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009123/0.7642, allocations: 491.5 kB / 0.9286 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/0.7645, allocations: 32 kB / 0.9286 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.7656, allocations: 71.91 kB / 0.9287 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000502/0.7662, allocations: 125 kB / 0.9288 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.7663, allocations: 40.38 kB / 0.9288 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009132/0.7672, allocations: 0.6395 MB / 0.9295 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.693e-06/0.7672, allocations: 0 / 0.9295 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002407/0.7696, allocations: 0.7265 MB / 0.9302 GB, free: 9.527 MB / 0.7012 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.0002697/0.7699, allocations: 143 kB / 0.9303 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007078/0.777, allocations: 4.207 MB / 0.9344 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.777, allocations: 8.188 kB / 0.9344 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005461/0.7825, allocations: 2.72 MB / 0.9371 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.7841, allocations: 224.3 kB / 0.9373 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007702/0.7918, allocations: 4.244 MB / 0.9415 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001842/0.7937, allocations: 1.731 MB / 0.9431 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.794, allocations: 63.44 kB / 0.9432 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/0.7941, allocations: 0 / 0.9432 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of Templates: time 0.4236/1.218, allocations: 60 MB / 1.002 GB, free: 172.8 MB / 0.7325 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)