Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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 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.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.001223/0.001223, allocations: 188.2 kB / 17.35 MB, free: 5.758 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.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002328/0.002328, allocations: 285.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9446/0.9446, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.00177, allocations: 95.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4876, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.00833/0.496, allocations: 5.358 MB / 0.7723 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007202/0.5033, allocations: 4.084 MB / 0.7763 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008251/0.5041, allocations: 23.81 kB / 0.7763 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.5061, allocations: 0.5795 MB / 0.7769 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.5082, allocations: 0.661 MB / 0.7775 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.5099, allocations: 0.5405 MB / 0.778 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001997/0.512, allocations: 1.154 MB / 0.7792 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009539/0.5129, allocations: 437.2 kB / 0.7796 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.514, allocations: 458.4 kB / 0.78 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.5152, allocations: 0.5293 MB / 0.7805 GB, free: 6.066 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002728/0.5154, allocations: 68 kB / 0.7806 GB, free: 6 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.5173, allocations: 0.8381 MB / 0.7814 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005523/0.5179, allocations: 339.1 kB / 0.7817 GB, free: 4.828 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008808/0.5188, allocations: 425.8 kB / 0.7822 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002754/0.5216, allocations: 1.401 MB / 0.7835 GB, free: 3.008 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.5216, allocations: 4 kB / 0.7835 GB, free: 3.004 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5216, allocations: 0 / 0.7835 GB, free: 3.004 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.545e-05/0.5217, allocations: 0 / 0.7835 GB, free: 3.004 MB / 0.545 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.0029/0.5246, allocations: 1.157 MB / 0.7847 GB, free: 1.797 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.5246, allocations: 8.031 kB / 0.7847 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.5348, allocations: 1.692 MB / 0.7863 GB, free: 96 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.5366, allocations: 0.6468 MB / 0.7869 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/0.5367, allocations: 49.61 kB / 0.787 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003395/0.537, allocations: 56.36 kB / 0.787 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006502/0.5436, allocations: 1.921 MB / 0.7889 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-05/0.5437, allocations: 0 / 0.7889 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/0.5439, allocations: 27.98 kB / 0.7889 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004436/0.5443, allocations: 157.3 kB / 0.7891 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008144/0.5525, allocations: 2.601 MB / 0.7916 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.5632, allocations: 6.641 MB / 0.7981 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003399/0.5666, allocations: 1.246 MB / 0.7993 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002611/0.5693, allocations: 0.8992 MB / 0.8002 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002433/0.5717, allocations: 1.487 MB / 0.8017 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.5718, allocations: 46.5 kB / 0.8017 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 3.527e-06/0.5718, allocations: 4 kB / 0.8017 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=107): time 0.02915/0.601, allocations: 8.098 MB / 0.8096 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.601, allocations: 90.11 kB / 0.8097 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000838/0.6019, allocations: 0.5769 MB / 0.8103 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.6021, allocations: 41.7 kB / 0.8103 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.6024, allocations: 419 kB / 0.8107 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004506/0.6029, allocations: 370.7 kB / 0.8111 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005743/0.6035, allocations: 266.6 kB / 0.8113 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.6037, allocations: 394.7 kB / 0.8117 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003042/0.6067, allocations: 1.106 MB / 0.8128 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003286/0.61, allocations: 1.448 MB / 0.8142 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006305/0.6164, allocations: 2.577 MB / 0.8167 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.6164, allocations: 4 kB / 0.8167 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01118/0.6276, allocations: 3.846 MB / 0.8205 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.6277, allocations: 8 kB / 0.8205 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.6277, allocations: 12 kB / 0.8205 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005234/0.6329, allocations: 1.326 MB / 0.8218 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/0.6352, allocations: 455.2 kB / 0.8222 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/0.6523, allocations: 12.12 MB / 0.8341 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/0.6548, allocations: 307.5 kB / 0.8343 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000361/0.6552, allocations: 71.95 kB / 0.8344 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003741/0.659, allocations: 1.31 MB / 0.8357 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00341/0.6624, allocations: 1.429 MB / 0.8371 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006451/0.6689, allocations: 2.561 MB / 0.8396 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.035e-05/0.6689, allocations: 0 / 0.8396 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01047/0.6794, allocations: 3.613 MB / 0.8431 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.6794, allocations: 15.28 kB / 0.8431 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.6795, allocations: 8 kB / 0.8431 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003848/0.6833, allocations: 1.057 MB / 0.8442 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/0.6856, allocations: 475.1 kB / 0.8446 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/0.7, allocations: 11.1 MB / 0.8555 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/0.7024, allocations: 307.6 kB / 0.8558 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/0.7026, allocations: 59.97 kB / 0.8558 GB, free: 6.461 MB / 0.6231 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.0005065/0.7031, allocations: 260.7 kB / 0.8561 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.7034, allocations: 94.88 kB / 0.8562 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/0.7146, allocations: 3.723 MB / 0.8598 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/0.7147, allocations: 3.984 kB / 0.8598 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7147, allocations: 0 / 0.8598 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006376/0.7153, allocations: 339.9 kB / 0.8601 GB, free: 2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/0.7156, allocations: 20 kB / 0.8601 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/0.7177, allocations: 299.5 kB / 0.8604 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003167/0.718, allocations: 104.8 kB / 0.8605 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01126/0.7293, allocations: 3.711 MB / 0.8641 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009941/0.7393, allocations: 3.818 MB / 0.8679 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003032/0.7424, allocations: 1.135 MB / 0.869 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006364/0.743, allocations: 410.8 kB / 0.8694 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of Backend: time 3.7e-07/0.743, allocations: 0 / 0.8694 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01444/0.7575, allocations: 5.171 MB / 0.8744 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of SimCode: time 0.003524/0.761, allocations: 2.357 MB / 0.8767 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of Templates: time 0.05821/0.8193, allocations: 40.2 MB / 0.916 GB, free: 8.695 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)