Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009821/0.0009858, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008559/0.0008559, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.682/1.682, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005787/0.0005787, allocations: 11.47 kB / 0.6735 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2655, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.00687/0.2725, allocations: 4.546 MB / 0.7916 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005812/0.2783, allocations: 3.799 MB / 0.7953 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004932/0.2788, allocations: 15.88 kB / 0.7953 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.2791, allocations: 87.42 kB / 0.7954 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.2802, allocations: 450.5 kB / 0.7958 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.2813, allocations: 419 kB / 0.7962 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007661/0.2821, allocations: 0.6489 MB / 0.7968 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.2831, allocations: 0.6641 MB / 0.7975 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.2836, allocations: 338.8 kB / 0.7978 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007521/0.2843, allocations: 386.6 kB / 0.7982 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003418/0.2847, allocations: 36 kB / 0.7982 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.2868, allocations: 463.2 kB / 0.7986 GB, free: 92 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.2871, allocations: 275.2 kB / 0.7989 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.2872, allocations: 161.3 kB / 0.7991 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009769/0.2882, allocations: 1.009 MB / 0.8001 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2882, allocations: 0 / 0.8001 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2882, allocations: 0 / 0.8001 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.2882, allocations: 0 / 0.8001 GB, free: 14.64 MB / 0.6231 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.001684/0.2899, allocations: 1.02 MB / 0.801 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.29, allocations: 16.03 kB / 0.8011 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009102/0.2991, allocations: 1.742 MB / 0.8028 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.3003, allocations: 0.5952 MB / 0.8033 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.582e-05/0.3004, allocations: 45.3 kB / 0.8034 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.3005, allocations: 67.91 kB / 0.8035 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004523/0.3051, allocations: 1.897 MB / 0.8053 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.3051, allocations: 11.88 kB / 0.8053 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.3052, allocations: 27.98 kB / 0.8053 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003202/0.3056, allocations: 145.4 kB / 0.8055 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007179/0.3127, allocations: 2.616 MB / 0.808 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.3229, allocations: 6.665 MB / 0.8145 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/0.326, allocations: 1.26 MB / 0.8158 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002563/0.3286, allocations: 1.487 MB / 0.8172 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/0.3287, allocations: 42.56 kB / 0.8173 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.435e-06/0.3287, allocations: 0 / 0.8173 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.02622/0.3549, allocations: 8.245 MB / 0.8253 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.355, allocations: 90.11 kB / 0.8254 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.3557, allocations: 0.5769 MB / 0.826 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.3559, allocations: 41.7 kB / 0.826 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.3562, allocations: 415 kB / 0.8264 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/0.3565, allocations: 366.7 kB / 0.8268 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.777e-05/0.3566, allocations: 28 kB / 0.8268 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3568, allocations: 386.8 kB / 0.8272 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00278/0.3596, allocations: 1.115 MB / 0.8282 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003007/0.3626, allocations: 1.445 MB / 0.8297 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00294/0.3656, allocations: 1.226 MB / 0.8308 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.3656, allocations: 4 kB / 0.8309 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01045/0.376, allocations: 3.881 MB / 0.8346 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.001631/0.3777, allocations: 4.006 MB / 0.8386 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.839e-05/0.3778, allocations: 12 kB / 0.8386 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005245/0.383, allocations: 1.38 MB / 0.8399 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002217/0.3853, allocations: 463.2 kB / 0.8404 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01779/0.4031, allocations: 11.57 MB / 0.8517 GB, free: 8.035 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.4055, allocations: 307.5 kB / 0.8519 GB, free: 7.734 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000328/0.4059, allocations: 63.95 kB / 0.852 GB, free: 7.672 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4059, allocations: 7.953 kB / 0.852 GB, free: 7.664 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01022/0.4161, allocations: 3.557 MB / 0.8555 GB, free: 4.094 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.884e-05/0.4162, allocations: 12 kB / 0.8555 GB, free: 4.082 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003736/0.4199, allocations: 1.096 MB / 0.8566 GB, free: 2.973 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.422, allocations: 483.1 kB / 0.857 GB, free: 2.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/0.4356, allocations: 10.62 MB / 0.8674 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.4377, allocations: 307.6 kB / 0.8677 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/0.438, allocations: 63.97 kB / 0.8678 GB, free: 6.973 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006874/0.4387, allocations: 386.2 kB / 0.8681 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.4389, allocations: 86.92 kB / 0.8682 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/0.4492, allocations: 3.774 MB / 0.8719 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.4492, allocations: 12 kB / 0.8719 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.326e-05/0.4493, allocations: 4 kB / 0.8719 GB, free: 2.676 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/0.4493, allocations: 7.938 kB / 0.8719 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.4626, allocations: 5.47 MB / 0.8773 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.4626, allocations: 8 kB / 0.8773 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.4642, allocations: 359.4 kB / 0.8776 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004507/0.4687, allocations: 1.256 MB / 0.8788 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.4689, allocations: 31.98 kB / 0.8789 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/0.4833, allocations: 11.07 MB / 0.8897 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.4833, allocations: 11.94 kB / 0.8897 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009859/0.4932, allocations: 3.934 MB / 0.8935 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007376/0.4939, allocations: 347.8 kB / 0.8939 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.4942, allocations: 20 kB / 0.8939 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/0.496, allocations: 323.5 kB / 0.8942 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.4963, allocations: 100.1 kB / 0.8943 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.4964, allocations: 43.97 kB / 0.8943 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005234/0.497, allocations: 402.8 kB / 0.8947 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.593e-06/0.497, allocations: 0 / 0.8947 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002165/0.4992, allocations: 0.6054 MB / 0.8953 GB, free: 9.77 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002765/0.4994, allocations: 135.1 kB / 0.8954 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01413/0.5136, allocations: 5.715 MB / 0.901 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/0.5136, allocations: 9.438 kB / 0.901 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005337/0.519, allocations: 2.111 MB / 0.9031 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.5201, allocations: 144.5 kB / 0.9032 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.5318, allocations: 3.826 MB / 0.907 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.533, allocations: 1.129 MB / 0.9081 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002162/0.5352, allocations: 0.5383 MB / 0.9086 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/0.5355, allocations: 83.38 kB / 0.9087 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.282e-06/0.5356, allocations: 0 / 0.9087 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.485/1.021, allocations: 25.87 MB / 0.9339 GB, free: 124.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) Environment - environmentSimulation: