Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 112.8 kB / 16.37 MB, free: 6.004 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.001047/0.001047, allocations: 192 kB / 17.31 MB, free: 5.617 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 / 223.2 MB, free: 12.25 MB / 190.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.76/1.76, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001431/0.001431, allocations: 68.23 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2383, allocations: 114.5 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.4095/0.6477, allocations: 5.467 MB / 0.7901 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005479/0.6533, allocations: 4.14 MB / 0.7942 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003577/0.6536, allocations: 18.16 kB / 0.7942 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.6551, allocations: 0.5749 MB / 0.7948 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.6564, allocations: 0.6638 MB / 0.7954 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.6577, allocations: 0.5526 MB / 0.7959 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009977/0.6587, allocations: 1.152 MB / 0.7971 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005358/0.6592, allocations: 445 kB / 0.7975 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.6597, allocations: 456 kB / 0.7979 GB, free: 44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006638/0.6604, allocations: 0.5373 MB / 0.7985 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.857e-05/0.6605, allocations: 63.38 kB / 0.7985 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.6618, allocations: 0.8382 MB / 0.7993 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003124/0.6621, allocations: 336.2 kB / 0.7997 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003756/0.6625, allocations: 428.4 kB / 0.8001 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.6644, allocations: 1.399 MB / 0.8014 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.6644, allocations: 1.125 kB / 0.8014 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6644, allocations: 0 / 0.8014 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.6644, allocations: 0 / 0.8014 GB, free: 42.82 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002161/0.6666, allocations: 1.162 MB / 0.8026 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.6666, allocations: 9.641 kB / 0.8026 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.6772, allocations: 1.685 MB / 0.8042 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.6787, allocations: 0.6596 MB / 0.8049 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.6787, allocations: 44.7 kB / 0.8049 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.6789, allocations: 55.88 kB / 0.805 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005702/0.6846, allocations: 1.908 MB / 0.8068 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.6847, allocations: 1.75 kB / 0.8068 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.6848, allocations: 35.03 kB / 0.8069 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004108/0.6852, allocations: 150.3 kB / 0.807 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00911/0.6943, allocations: 2.606 MB / 0.8095 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.7045, allocations: 6.635 MB / 0.816 GB, free: 35.87 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003597/0.7081, allocations: 1.258 MB / 0.8173 GB, free: 35.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002798/0.7109, allocations: 0.9028 MB / 0.8181 GB, free: 35.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002334/0.7133, allocations: 1.483 MB / 0.8196 GB, free: 34.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.7133, allocations: 43.05 kB / 0.8196 GB, free: 34.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.535e-06/0.7133, allocations: 0 / 0.8196 GB, free: 34.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=107): time 0.03146/0.7448, allocations: 8.097 MB / 0.8275 GB, free: 32.37 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.7449, allocations: 88.53 kB / 0.8276 GB, free: 32.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009553/0.7459, allocations: 0.594 MB / 0.8282 GB, free: 32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.746, allocations: 45.3 kB / 0.8282 GB, free: 31.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.7463, allocations: 405.7 kB / 0.8286 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000366/0.7467, allocations: 380.2 kB / 0.829 GB, free: 31.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00048/0.7472, allocations: 259.4 kB / 0.8292 GB, free: 31.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.7473, allocations: 387.4 kB / 0.8296 GB, free: 30.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/0.7503, allocations: 1.108 MB / 0.8307 GB, free: 30.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003237/0.7536, allocations: 1.45 MB / 0.8321 GB, free: 29.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007392/0.761, allocations: 2.576 MB / 0.8346 GB, free: 27.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/0.761, allocations: 2.188 kB / 0.8346 GB, free: 27.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01151/0.7725, allocations: 3.843 MB / 0.8384 GB, free: 25.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.7726, allocations: 10.22 kB / 0.8384 GB, free: 25.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.7727, allocations: 10 kB / 0.8384 GB, free: 25.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004965/0.7776, allocations: 1.336 MB / 0.8397 GB, free: 25.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/0.7799, allocations: 459.5 kB / 0.8401 GB, free: 24.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/0.7944, allocations: 12.12 MB / 0.852 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/0.797, allocations: 307.5 kB / 0.8523 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.7972, allocations: 62.55 kB / 0.8523 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003406/0.8006, allocations: 1.312 MB / 0.8536 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003072/0.8037, allocations: 1.435 MB / 0.855 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006055/0.8098, allocations: 2.55 MB / 0.8575 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.628e-06/0.8098, allocations: 10.16 kB / 0.8575 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01002/0.8198, allocations: 3.623 MB / 0.861 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.8199, allocations: 9.625 kB / 0.8611 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.8199, allocations: 11 kB / 0.8611 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003756/0.8237, allocations: 1.057 MB / 0.8621 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/0.8258, allocations: 467.2 kB / 0.8625 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.8377, allocations: 11.1 MB / 0.8734 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/0.8403, allocations: 303.6 kB / 0.8737 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.8405, allocations: 63.97 kB / 0.8737 GB, free: 13.12 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * 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): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005283/0.8411, allocations: 263.2 kB / 0.874 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.8413, allocations: 90.92 kB / 0.8741 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/0.8525, allocations: 3.718 MB / 0.8777 GB, free: 9.035 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.8526, allocations: 12 kB / 0.8777 GB, free: 9.023 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.8526, allocations: 4 kB / 0.8777 GB, free: 9.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.8526, allocations: 7.984 kB / 0.8777 GB, free: 9.012 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/0.8664, allocations: 5.442 MB / 0.883 GB, free: 3.422 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.8665, allocations: 4 kB / 0.883 GB, free: 3.418 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/0.8683, allocations: 352.4 kB / 0.8834 GB, free: 3.074 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004474/0.8728, allocations: 1.202 MB / 0.8846 GB, free: 1.859 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/0.873, allocations: 35.97 kB / 0.8846 GB, free: 1.824 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/0.8882, allocations: 11.64 MB / 0.896 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.8882, allocations: 11.94 kB / 0.896 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.8987, allocations: 3.622 MB / 0.8995 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007666/0.8995, allocations: 335.9 kB / 0.8998 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.8996, allocations: 31.94 kB / 0.8999 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001952/0.9016, allocations: 311.5 kB / 0.9002 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003306/0.9019, allocations: 105 kB / 0.9003 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.9021, allocations: 47.97 kB / 0.9003 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005149/0.9026, allocations: 406.8 kB / 0.9007 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9026, allocations: 4 kB / 0.9007 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002265/0.9049, allocations: 0.5938 MB / 0.9013 GB, free: 76 kB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * 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): 3 systems {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002919/0.9052, allocations: 140.8 kB / 0.9014 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01504/0.9202, allocations: 5.7 MB / 0.907 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/0.9203, allocations: 4.125 kB / 0.907 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005582/0.9258, allocations: 2.123 MB / 0.909 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.9272, allocations: 158.2 kB / 0.9092 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.9389, allocations: 3.588 MB / 0.9127 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.9402, allocations: 1.114 MB / 0.9138 GB, free: 2.98 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/0.9409, allocations: 99.34 kB / 0.9139 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of SimCode: time 1.532e-06/0.9409, allocations: 7.938 kB / 0.9139 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of Templates: time 0.04041/0.9814, allocations: 29.39 MB / 0.9426 GB, free: 5.613 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1)