Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001704, allocations: 105.1 kB / 16.29 MB, free: 6.031 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.001645/0.001645, allocations: 179.3 kB / 17.22 MB, free: 5.641 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.995/1.995, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.95/1.95, allocations: 292.3 MB / 0.5495 GB, free: 17.7 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.001518/0.001518, allocations: 71.89 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.337, allocations: 114.5 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.6601/0.9971, allocations: 5.09 MB / 0.7891 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005969/1.003, allocations: 4.055 MB / 0.793 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006178/1.004, allocations: 17.69 kB / 0.793 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/1.005, allocations: 0.5735 MB / 0.7936 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001759/1.007, allocations: 0.6576 MB / 0.7942 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/1.008, allocations: 492.3 kB / 0.7947 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001225/1.01, allocations: 1 MB / 0.7957 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006378/1.01, allocations: 414.3 kB / 0.7961 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005503/1.011, allocations: 409.1 kB / 0.7965 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006747/1.012, allocations: 487.7 kB / 0.7969 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/1.012, allocations: 58.47 kB / 0.797 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/1.013, allocations: 0.8138 MB / 0.7978 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003922/1.014, allocations: 301.6 kB / 0.7981 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005353/1.014, allocations: 384.8 kB / 0.7984 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003351/1.018, allocations: 1.288 MB / 0.7997 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/1.018, allocations: 3.219 kB / 0.7997 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.958e-06/1.018, allocations: 0 / 0.7997 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.117e-05/1.018, allocations: 1.094 kB / 0.7997 GB, free: 43.61 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002758/1.021, allocations: 1.066 MB / 0.8007 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/1.021, allocations: 8.188 kB / 0.8007 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009165/1.03, allocations: 1.61 MB / 0.8023 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/1.031, allocations: 0.5521 MB / 0.8029 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/1.031, allocations: 50.23 kB / 0.8029 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/1.031, allocations: 61.23 kB / 0.803 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005375/1.037, allocations: 1.832 MB / 0.8048 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/1.037, allocations: 11.78 kB / 0.8048 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/1.037, allocations: 27.19 kB / 0.8048 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002708/1.037, allocations: 104.5 kB / 0.8049 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00863/1.046, allocations: 2.466 MB / 0.8073 GB, free: 41.28 MB / 0.6544 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.01181/1.058, allocations: 6.329 MB / 0.8135 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/1.062, allocations: 1.358 MB / 0.8148 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002674/1.064, allocations: 0.8965 MB / 0.8157 GB, free: 36.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003218/1.068, allocations: 2.163 MB / 0.8178 GB, free: 34.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/1.068, allocations: 52.36 kB / 0.8178 GB, free: 34.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=69): time 2.745e-06/1.068, allocations: 0 / 0.8178 GB, free: 34.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=93): time 0.02314/1.091, allocations: 6.469 MB / 0.8242 GB, free: 32.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/1.091, allocations: 198.4 kB / 0.8243 GB, free: 32.47 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009338/1.092, allocations: 0.5161 MB / 0.8249 GB, free: 32.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/1.092, allocations: 41.95 kB / 0.8249 GB, free: 32.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/1.092, allocations: 386.3 kB / 0.8253 GB, free: 31.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000375/1.093, allocations: 327.4 kB / 0.8256 GB, free: 31.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006273/1.093, allocations: 253.2 kB / 0.8258 GB, free: 31.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.094, allocations: 377.5 kB / 0.8262 GB, free: 31.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/1.097, allocations: 0.9954 MB / 0.8271 GB, free: 30.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/1.1, allocations: 1.277 MB / 0.8284 GB, free: 30.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005609/1.105, allocations: 2.268 MB / 0.8306 GB, free: 29.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-05/1.105, allocations: 2.719 kB / 0.8306 GB, free: 29.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00945/1.115, allocations: 3.297 MB / 0.8338 GB, free: 27.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/1.115, allocations: 9.062 kB / 0.8338 GB, free: 27.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/1.115, allocations: 8.594 kB / 0.8338 GB, free: 27.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004094/1.119, allocations: 1.048 MB / 0.8349 GB, free: 27.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/1.121, allocations: 459.5 kB / 0.8353 GB, free: 27.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/1.133, allocations: 9.679 MB / 0.8448 GB, free: 18.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/1.136, allocations: 299.5 kB / 0.845 GB, free: 18.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003587/1.136, allocations: 62.23 kB / 0.8451 GB, free: 18.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003387/1.139, allocations: 1.176 MB / 0.8463 GB, free: 18.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00304/1.142, allocations: 1.265 MB / 0.8475 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005815/1.148, allocations: 2.238 MB / 0.8497 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.162e-05/1.148, allocations: 2.156 kB / 0.8497 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.01049/1.159, allocations: 3.056 MB / 0.8527 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/1.159, allocations: 11.03 kB / 0.8527 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.978e-05/1.159, allocations: 8.625 kB / 0.8527 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00289/1.162, allocations: 0.7463 MB / 0.8534 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/1.164, allocations: 481.1 kB / 0.8539 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008178/1.172, allocations: 7.196 MB / 0.8609 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/1.175, allocations: 301.2 kB / 0.8612 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003434/1.175, allocations: 61.38 kB / 0.8612 GB, free: 7.703 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (124): * Single equations (assignments): 120 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000609/1.176, allocations: 251.6 kB / 0.8615 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004532/1.176, allocations: 71.16 kB / 0.8616 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009057/1.185, allocations: 3.054 MB / 0.8645 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.04e-05/1.185, allocations: 11 kB / 0.8645 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-05/1.185, allocations: 6.625 kB / 0.8645 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/1.185, allocations: 6.859 kB / 0.8646 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/1.196, allocations: 4.974 MB / 0.8694 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/1.197, allocations: 4.625 kB / 0.8694 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/1.198, allocations: 367.3 kB / 0.8698 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003222/1.201, allocations: 0.9499 MB / 0.8707 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/1.201, allocations: 39.92 kB / 0.8707 GB, free: 15.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/1.213, allocations: 9.377 MB / 0.8799 GB, free: 6.023 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.38e-05/1.213, allocations: 11.94 kB / 0.8799 GB, free: 6.012 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0092/1.222, allocations: 3.203 MB / 0.883 GB, free: 2.707 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008396/1.223, allocations: 304 kB / 0.8833 GB, free: 2.391 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/1.223, allocations: 27.94 kB / 0.8833 GB, free: 2.363 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/1.225, allocations: 283.5 kB / 0.8836 GB, free: 2.086 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/1.226, allocations: 95.7 kB / 0.8837 GB, free: 1.992 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/1.226, allocations: 39.97 kB / 0.8837 GB, free: 1.953 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005996/1.226, allocations: 366.8 kB / 0.8841 GB, free: 1.594 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/1.226, allocations: 0 / 0.8841 GB, free: 1.594 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002669/1.229, allocations: 0.5039 MB / 0.8846 GB, free: 1.09 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003197/1.229, allocations: 145.6 kB / 0.8847 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01123/1.24, allocations: 4.64 MB / 0.8893 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/1.241, allocations: 8 kB / 0.8893 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003929/1.244, allocations: 1.729 MB / 0.891 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/1.246, allocations: 117.5 kB / 0.8911 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009964/1.256, allocations: 3.226 MB / 0.8942 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009557/1.257, allocations: 1.032 MB / 0.8952 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001773/1.259, allocations: 0.4926 MB / 0.8957 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/1.259, allocations: 87.38 kB / 0.8958 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of SimCode: time 1.122e-06/1.259, allocations: 0 / 0.8958 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of Templates: time 0.03651/1.296, allocations: 21.2 MB / 0.9165 GB, free: 340 kB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1)