Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001328/0.001328, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.566/1.566, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.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.00147/0.00147, allocations: 81.16 kB / 0.6723 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2688, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01241/0.2813, allocations: 10.01 MB / 0.7939 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005862/0.2872, allocations: 3.085 MB / 0.7969 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006758/0.2879, allocations: 35.88 kB / 0.797 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.2899, allocations: 0.6803 MB / 0.7976 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.2915, allocations: 0.6882 MB / 0.7983 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.293, allocations: 0.6427 MB / 0.7989 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003031/0.296, allocations: 2.738 MB / 0.8016 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002862/0.2989, allocations: 2.523 MB / 0.8041 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.3006, allocations: 1.137 MB / 0.8052 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.3026, allocations: 1.375 MB / 0.8065 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002715/0.3029, allocations: 220 kB / 0.8067 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009597/0.3039, allocations: 499.3 kB / 0.8072 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009641/0.3049, allocations: 0.9824 MB / 0.8082 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009789/0.3059, allocations: 1.008 MB / 0.8091 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.3093, allocations: 3.405 MB / 0.8125 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.3093, allocations: 0 / 0.8125 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3093, allocations: 0 / 0.8125 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.976e-05/0.3094, allocations: 4 kB / 0.8125 GB, free: 15.57 MB / 0.6387 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.003756/0.3131, allocations: 1.943 MB / 0.8144 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3132, allocations: 12.03 kB / 0.8144 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005576/0.3188, allocations: 0.8921 MB / 0.8153 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.321, allocations: 1.157 MB / 0.8164 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.769e-05/0.3211, allocations: 119.3 kB / 0.8165 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/0.3214, allocations: 140.3 kB / 0.8166 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004741/0.3261, allocations: 3.018 MB / 0.8196 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.3262, allocations: 11.84 kB / 0.8196 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.3264, allocations: 59.97 kB / 0.8196 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002184/0.3266, allocations: 178.9 kB / 0.8198 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004087/0.3307, allocations: 2.608 MB / 0.8224 GB, free: 5.238 MB / 0.6387 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.01673/0.3474, allocations: 13.49 MB / 0.8355 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.3494, allocations: 1.292 MB / 0.8368 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.3508, allocations: 1.054 MB / 0.8378 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.906e-05/0.3509, allocations: 8.656 kB / 0.8378 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.351, allocations: 47.22 kB / 0.8379 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.351, allocations: 0 / 0.8379 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.07334/0.4243, allocations: 19.38 MB / 0.8568 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.4244, allocations: 68.72 kB / 0.8569 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.4257, allocations: 0.9222 MB / 0.8578 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.4259, allocations: 45.7 kB / 0.8578 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005484/0.4264, allocations: 0.7322 MB / 0.8585 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005484/0.427, allocations: 485 kB / 0.859 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000604/0.4276, allocations: 291.5 kB / 0.8593 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.4278, allocations: 353.9 kB / 0.8596 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.4297, allocations: 1.335 MB / 0.8609 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.4318, allocations: 1.655 MB / 0.8625 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004004/0.4358, allocations: 3.09 MB / 0.8655 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.4358, allocations: 4 kB / 0.8656 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0116/0.4474, allocations: 5.639 MB / 0.8711 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.4475, allocations: 8 kB / 0.8711 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.4475, allocations: 15.94 kB / 0.8711 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008802/0.4564, allocations: 2.718 MB / 0.8737 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009307/0.4573, allocations: 187.7 kB / 0.8739 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03599/0.4933, allocations: 25.72 MB / 0.899 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.495, allocations: 91.95 kB / 0.8991 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.4952, allocations: 60 kB / 0.8992 GB, free: 4.406 MB / 0.7169 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.001118/0.4963, allocations: 0.7277 MB / 0.8999 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.4965, allocations: 122.6 kB / 0.9 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/0.5075, allocations: 5.392 MB / 0.9053 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.5075, allocations: 12 kB / 0.9053 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.761e-05/0.5075, allocations: 20 kB / 0.9053 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.5076, allocations: 7.969 kB / 0.9053 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/0.5233, allocations: 8.626 MB / 0.9137 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.5234, allocations: 4 kB / 0.9137 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.5239, allocations: 112.2 kB / 0.9138 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008054/0.5319, allocations: 2.557 MB / 0.9163 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002053/0.5322, allocations: 24 kB / 0.9164 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5243/1.056, allocations: 22.98 MB / 0.9388 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.057, allocations: 4.062 kB / 0.9388 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/1.069, allocations: 5.126 MB / 0.9438 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.07, allocations: 479.8 kB / 0.9443 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/1.07, allocations: 28.84 kB / 0.9443 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000924/1.071, allocations: 80.83 kB / 0.9444 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006467/1.072, allocations: 117.3 kB / 0.9445 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/1.072, allocations: 39.28 kB / 0.9445 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001007/1.073, allocations: 0.6452 MB / 0.9452 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/1.073, allocations: 0 / 0.9452 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002811/1.076, allocations: 0.7212 MB / 0.9459 GB, free: 118.3 MB / 0.7325 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.0002901/1.076, allocations: 140.9 kB / 0.946 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007128/1.083, allocations: 4.179 MB / 0.9501 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.083, allocations: 1.188 kB / 0.9501 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005494/1.089, allocations: 2.659 MB / 0.9527 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/1.091, allocations: 229.8 kB / 0.9529 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007673/1.099, allocations: 3.903 MB / 0.9567 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/1.1, allocations: 1.698 MB / 0.9584 GB, free: 112.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007919/1.101, allocations: 328.3 kB / 0.9587 GB, free: 112.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/1.101, allocations: 58.94 kB / 0.9587 GB, free: 112.6 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/1.101, allocations: 3.969 kB / 0.9587 GB, free: 112.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.04953/1.151, allocations: 38.98 MB / 0.9968 GB, free: 79.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)