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.001552/0.001552, allocations: 105.5 kB / 16.41 MB, free: 6.492 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.001841/0.001841, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002297/0.002297, allocations: 286.3 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.9938/0.9938, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001799, allocations: 92.28 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.415, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.007762/0.4228, allocations: 5.358 MB / 0.7723 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007204/0.43, allocations: 4.084 MB / 0.7763 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007357/0.4308, allocations: 19.88 kB / 0.7763 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.4328, allocations: 0.5756 MB / 0.7769 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.4346, allocations: 0.6611 MB / 0.7775 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.4362, allocations: 0.5571 MB / 0.778 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.4377, allocations: 1.146 MB / 0.7792 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007792/0.4385, allocations: 437.3 kB / 0.7796 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008089/0.4394, allocations: 466.4 kB / 0.78 GB, free: 6.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009805/0.4403, allocations: 0.5332 MB / 0.7805 GB, free: 6.055 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.4406, allocations: 64 kB / 0.7806 GB, free: 5.992 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.4421, allocations: 0.8342 MB / 0.7814 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004052/0.4426, allocations: 339.1 kB / 0.7817 GB, free: 4.824 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005805/0.4431, allocations: 429.8 kB / 0.7822 GB, free: 4.402 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.4451, allocations: 1.404 MB / 0.7835 GB, free: 2.996 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4452, allocations: 0 / 0.7835 GB, free: 2.996 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4452, allocations: 0 / 0.7835 GB, free: 2.996 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.888e-05/0.4452, allocations: 0 / 0.7835 GB, free: 2.996 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.002546/0.4478, allocations: 1.153 MB / 0.7847 GB, free: 1.793 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.4478, allocations: 16.02 kB / 0.7847 GB, free: 1.777 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.4579, allocations: 1.685 MB / 0.7863 GB, free: 92 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.4593, allocations: 0.6507 MB / 0.787 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.4593, allocations: 41.67 kB / 0.787 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.4595, allocations: 68.31 kB / 0.7871 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004958/0.4645, allocations: 1.909 MB / 0.7889 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.4645, allocations: 4 kB / 0.7889 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.4647, allocations: 27.98 kB / 0.789 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003439/0.465, allocations: 149.4 kB / 0.7891 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008075/0.4731, allocations: 2.601 MB / 0.7916 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.4838, allocations: 6.645 MB / 0.7981 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0034/0.4872, allocations: 1.251 MB / 0.7993 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002635/0.4899, allocations: 0.8992 MB / 0.8002 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002302/0.4922, allocations: 1.487 MB / 0.8017 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.4923, allocations: 38.56 kB / 0.8017 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 4.268e-06/0.4923, allocations: 3.984 kB / 0.8017 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=107): time 0.02832/0.5206, allocations: 8.102 MB / 0.8096 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.5207, allocations: 94.11 kB / 0.8097 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007521/0.5214, allocations: 0.5731 MB / 0.8103 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.5216, allocations: 41.7 kB / 0.8103 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.5219, allocations: 415 kB / 0.8107 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/0.5222, allocations: 374.7 kB / 0.8111 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004648/0.5227, allocations: 266.6 kB / 0.8113 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5229, allocations: 390.7 kB / 0.8117 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003082/0.5259, allocations: 1.114 MB / 0.8128 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00327/0.5292, allocations: 1.448 MB / 0.8142 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006286/0.5355, allocations: 2.581 MB / 0.8167 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.5355, allocations: 0 / 0.8167 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01126/0.5468, allocations: 3.839 MB / 0.8205 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.5469, allocations: 12 kB / 0.8205 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.5469, allocations: 8 kB / 0.8205 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00519/0.5521, allocations: 1.33 MB / 0.8218 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/0.5542, allocations: 455.2 kB / 0.8222 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/0.5709, allocations: 12.13 MB / 0.8341 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.5732, allocations: 299.5 kB / 0.8344 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/0.5735, allocations: 63.97 kB / 0.8344 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0035/0.577, allocations: 1.313 MB / 0.8357 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003287/0.5803, allocations: 1.433 MB / 0.8371 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006312/0.5866, allocations: 2.557 MB / 0.8396 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.047e-06/0.5866, allocations: 8 kB / 0.8396 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.0103/0.5969, allocations: 3.617 MB / 0.8431 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.597, allocations: 11.94 kB / 0.8431 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.597, allocations: 12 kB / 0.8432 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003841/0.6008, allocations: 1.057 MB / 0.8442 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/0.6029, allocations: 467.2 kB / 0.8446 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.6168, allocations: 11.11 MB / 0.8555 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.619, allocations: 295.6 kB / 0.8558 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.6192, allocations: 72.03 kB / 0.8558 GB, free: 6.449 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.0004298/0.6196, allocations: 259.9 kB / 0.8561 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.6199, allocations: 90.91 kB / 0.8562 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/0.6308, allocations: 3.723 MB / 0.8598 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.6309, allocations: 3.984 kB / 0.8598 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.6309, allocations: 0 / 0.8598 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008279/0.6317, allocations: 335.9 kB / 0.8601 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/0.632, allocations: 16 kB / 0.8601 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/0.634, allocations: 299.5 kB / 0.8604 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/0.6344, allocations: 104.8 kB / 0.8605 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01077/0.6452, allocations: 3.707 MB / 0.8641 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00938/0.6546, allocations: 3.818 MB / 0.8679 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002905/0.6575, allocations: 1.136 MB / 0.869 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005635/0.6581, allocations: 410.8 kB / 0.8694 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of Backend: time 4.01e-07/0.6581, allocations: 4 kB / 0.8694 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01342/0.6715, allocations: 5.172 MB / 0.8744 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of SimCode: time 0.003247/0.6748, allocations: 2.359 MB / 0.8767 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of Templates: time 0.05806/0.7329, allocations: 40.21 MB / 0.916 GB, free: 8.691 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)