Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001327/0.001326, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001666/0.001666, allocations: 194.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.583/1.583, allocations: 251.7 MB / 0.5089 GB, free: 3.324 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 0.6218 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.476, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01207/0.4881, allocations: 9.983 MB / 0.7337 GB, free: 3.059 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004981/0.4932, allocations: 3.077 MB / 0.7367 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008929/0.4941, allocations: 35.75 kB / 0.7368 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.4963, allocations: 0.6373 MB / 0.7374 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.4983, allocations: 0.6342 MB / 0.738 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.4999, allocations: 0.585 MB / 0.7386 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002836/0.5028, allocations: 2.734 MB / 0.7413 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004273/0.507, allocations: 3.066 MB / 0.7443 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.509, allocations: 1.133 MB / 0.7454 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.5111, allocations: 1.465 MB / 0.7468 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003424/0.5115, allocations: 220 kB / 0.747 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.5126, allocations: 483.4 kB / 0.7475 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.5137, allocations: 0.9824 MB / 0.7484 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.5153, allocations: 1.011 MB / 0.7494 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003978/0.5192, allocations: 3.408 MB / 0.7527 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.5193, allocations: 4 kB / 0.7527 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5193, allocations: 0 / 0.7527 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.985e-05/0.5194, allocations: 0 / 0.7527 GB, free: 15.51 MB / 0.5762 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.004656/0.524, allocations: 1.944 MB / 0.7546 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.5241, allocations: 8.031 kB / 0.7547 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005617/0.5297, allocations: 0.8882 MB / 0.7555 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.5321, allocations: 1.114 MB / 0.7566 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.039e-05/0.5322, allocations: 107.3 kB / 0.7567 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003414/0.5325, allocations: 156.3 kB / 0.7569 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004861/0.5374, allocations: 3.017 MB / 0.7598 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.235e-05/0.5375, allocations: 3.938 kB / 0.7598 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.5377, allocations: 63.97 kB / 0.7599 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002501/0.538, allocations: 175 kB / 0.76 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005129/0.5431, allocations: 2.604 MB / 0.7626 GB, free: 5.23 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.01737/0.5605, allocations: 13.54 MB / 0.7758 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.5625, allocations: 1.299 MB / 0.7771 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.5638, allocations: 1.047 MB / 0.7781 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.017e-05/0.5639, allocations: 20.62 kB / 0.7781 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.564, allocations: 39.22 kB / 0.7781 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.116e-06/0.564, allocations: 4 kB / 0.7782 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of matching and sorting (n=139): time 0.06801/0.632, allocations: 19.37 MB / 0.7971 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.6321, allocations: 64.72 kB / 0.7971 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.6334, allocations: 0.9222 MB / 0.798 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002508/0.6336, allocations: 49.7 kB / 0.7981 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/0.6342, allocations: 0.7322 MB / 0.7988 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004395/0.6346, allocations: 489 kB / 0.7993 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005726/0.6352, allocations: 291.4 kB / 0.7995 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6354, allocations: 353.9 kB / 0.7999 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.6372, allocations: 1.339 MB / 0.8012 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.6393, allocations: 1.662 MB / 0.8028 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004099/0.6434, allocations: 3.08 MB / 0.8058 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.6434, allocations: 3.938 kB / 0.8058 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01254/0.656, allocations: 5.648 MB / 0.8113 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.6561, allocations: 8 kB / 0.8113 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/0.6561, allocations: 11.94 kB / 0.8114 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009016/0.6651, allocations: 2.737 MB / 0.814 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008974/0.666, allocations: 191.7 kB / 0.8142 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.038/0.7041, allocations: 25.73 MB / 0.8393 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.7057, allocations: 99.89 kB / 0.8394 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.7058, allocations: 56.5 kB / 0.8395 GB, free: 4.309 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.00124/0.7071, allocations: 0.7354 MB / 0.8402 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.7073, allocations: 118.6 kB / 0.8403 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/0.7184, allocations: 5.388 MB / 0.8456 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.7184, allocations: 16 kB / 0.8456 GB, free: 14.01 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.138e-05/0.7185, allocations: 16 kB / 0.8456 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.537e-05/0.7185, allocations: 15.97 kB / 0.8456 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.7348, allocations: 8.636 MB / 0.8541 GB, free: 5.219 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.7348, allocations: 4 kB / 0.8541 GB, free: 5.215 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004771/0.7353, allocations: 115.9 kB / 0.8542 GB, free: 5.102 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008435/0.7437, allocations: 2.574 MB / 0.8567 GB, free: 2.52 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003528/0.7442, allocations: 24 kB / 0.8567 GB, free: 2.496 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03122/0.7754, allocations: 23.01 MB / 0.8792 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.7754, allocations: 7.938 kB / 0.8792 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.7858, allocations: 5.13 MB / 0.8842 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009023/0.7867, allocations: 471.6 kB / 0.8847 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.787, allocations: 31.98 kB / 0.8847 GB, free: 5.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000862/0.7878, allocations: 75.91 kB / 0.8848 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005255/0.7884, allocations: 125 kB / 0.8849 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.7885, allocations: 36 kB / 0.8849 GB, free: 4.949 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007502/0.7892, allocations: 0.6434 MB / 0.8855 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7892, allocations: 0 / 0.8855 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002188/0.7914, allocations: 0.7148 MB / 0.8862 GB, free: 3.59 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.0002704/0.7917, allocations: 143.1 kB / 0.8864 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007949/0.7997, allocations: 4.731 MB / 0.891 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.7998, allocations: 0 / 0.891 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005661/0.8054, allocations: 2.662 MB / 0.8936 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.8076, allocations: 224.4 kB / 0.8938 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008295/0.8159, allocations: 4.673 MB / 0.8984 GB, free: 7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/0.8176, allocations: 1.7 MB / 0.9 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008415/0.8184, allocations: 329.4 kB / 0.9003 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.8186, allocations: 59.42 kB / 0.9004 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of SimCode: time 8.01e-07/0.8186, allocations: 0 / 0.9004 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of Templates: time 0.4759/1.295, allocations: 39.48 MB / 0.939 GB, free: 150.1 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)