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.0009571/0.0009571, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001327/0.001327, allocations: 172.7 kB / 15.95 MB, free: 208 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.528/1.528, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.613/1.613, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005193/0.0005195, allocations: 12.88 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2253, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.005161/0.2305, allocations: 4.736 MB / 0.7919 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005386/0.2359, allocations: 3.854 MB / 0.7957 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.2363, allocations: 19.88 kB / 0.7957 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.2365, allocations: 91.23 kB / 0.7958 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.2378, allocations: 0.5133 MB / 0.7963 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.2388, allocations: 415 kB / 0.7967 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.2402, allocations: 1.318 MB / 0.798 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.2414, allocations: 0.6604 MB / 0.7986 GB, free: 240 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005738/0.242, allocations: 394.4 kB / 0.799 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007462/0.2427, allocations: 0.5178 MB / 0.7995 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.024e-05/0.2428, allocations: 36 kB / 0.7995 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009252/0.2438, allocations: 495.2 kB / 0.8 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.244, allocations: 291.2 kB / 0.8003 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.2442, allocations: 165.3 kB / 0.8004 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000953/0.2451, allocations: 1.025 MB / 0.8014 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2451, allocations: 0 / 0.8014 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2452, allocations: 0 / 0.8014 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.2452, allocations: 0 / 0.8014 GB, free: 13.33 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.001631/0.2468, allocations: 1.032 MB / 0.8025 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.2468, allocations: 8.031 kB / 0.8025 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007887/0.2547, allocations: 1.699 MB / 0.8041 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000893/0.2557, allocations: 0.5953 MB / 0.8047 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.2557, allocations: 49.28 kB / 0.8047 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.2558, allocations: 55.98 kB / 0.8048 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004027/0.2599, allocations: 1.909 MB / 0.8067 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.2599, allocations: 7.938 kB / 0.8067 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.26, allocations: 31.97 kB / 0.8067 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002893/0.2603, allocations: 149.4 kB / 0.8068 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006396/0.2667, allocations: 2.616 MB / 0.8094 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008504/0.2752, allocations: 6.673 MB / 0.8159 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/0.2781, allocations: 1.252 MB / 0.8171 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/0.2802, allocations: 0.9031 MB / 0.818 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001839/0.2821, allocations: 1.487 MB / 0.8195 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.2821, allocations: 42.56 kB / 0.8195 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.104e-06/0.2821, allocations: 0 / 0.8195 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.02354/0.3057, allocations: 8.237 MB / 0.8276 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.3057, allocations: 90.11 kB / 0.8276 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006748/0.3064, allocations: 0.573 MB / 0.8282 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.3065, allocations: 45.7 kB / 0.8282 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.3068, allocations: 415 kB / 0.8286 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000318/0.3071, allocations: 370.7 kB / 0.829 GB, free: 384 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.3072, allocations: 24 kB / 0.829 GB, free: 360 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3074, allocations: 390.7 kB / 0.8294 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002508/0.3099, allocations: 1.111 MB / 0.8305 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/0.3126, allocations: 1.448 MB / 0.8319 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00267/0.3153, allocations: 1.23 MB / 0.8331 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.3153, allocations: 0 / 0.8331 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.009484/0.3248, allocations: 3.889 MB / 0.8369 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.3251, allocations: 392.5 kB / 0.8373 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.3251, allocations: 12 kB / 0.8373 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004647/0.3298, allocations: 1.384 MB / 0.8386 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.3315, allocations: 459.2 kB / 0.8391 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/0.3464, allocations: 11.24 MB / 0.85 GB, free: 9.961 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.3484, allocations: 307.6 kB / 0.8503 GB, free: 9.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002463/0.3487, allocations: 71.97 kB / 0.8504 GB, free: 9.59 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/0.3487, allocations: 4 kB / 0.8504 GB, free: 9.586 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009613/0.3584, allocations: 3.565 MB / 0.8539 GB, free: 6.008 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-05/0.3584, allocations: 16.06 kB / 0.8539 GB, free: 5.992 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003755/0.3622, allocations: 1.1 MB / 0.855 GB, free: 4.879 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.3642, allocations: 475.2 kB / 0.8554 GB, free: 4.414 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/0.3768, allocations: 10.32 MB / 0.8655 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.3787, allocations: 307.6 kB / 0.8658 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.3789, allocations: 63.97 kB / 0.8659 GB, free: 9.191 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.0006413/0.3796, allocations: 389.9 kB / 0.8662 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.3798, allocations: 86.97 kB / 0.8663 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009647/0.3895, allocations: 3.754 MB / 0.87 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.3895, allocations: 19.95 kB / 0.87 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.3895, allocations: 4 kB / 0.87 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.3896, allocations: 7.922 kB / 0.87 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/0.4013, allocations: 5.474 MB / 0.8754 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.4014, allocations: 8.094 kB / 0.8754 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.4028, allocations: 359.9 kB / 0.8757 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004117/0.407, allocations: 1.248 MB / 0.8769 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.4071, allocations: 35.98 kB / 0.877 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/0.4219, allocations: 10.74 MB / 0.8875 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.4219, allocations: 4 kB / 0.8875 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.4321, allocations: 3.673 MB / 0.891 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007132/0.4328, allocations: 347.8 kB / 0.8914 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/0.4331, allocations: 24 kB / 0.8914 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/0.4348, allocations: 319.5 kB / 0.8917 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003836/0.4352, allocations: 104.1 kB / 0.8918 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.4353, allocations: 43.97 kB / 0.8918 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004782/0.4358, allocations: 398.8 kB / 0.8922 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4358, allocations: 0 / 0.8922 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002142/0.438, allocations: 0.5977 MB / 0.8928 GB, free: 12.75 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.0002705/0.4383, allocations: 155.7 kB / 0.893 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01295/0.4512, allocations: 5.708 MB / 0.8985 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.4513, allocations: 0 / 0.8985 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004759/0.456, allocations: 2.119 MB / 0.9006 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.4573, allocations: 155 kB / 0.9007 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009187/0.4665, allocations: 3.831 MB / 0.9045 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008042/0.4673, allocations: 1.106 MB / 0.9056 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001985/0.4693, allocations: 0.5422 MB / 0.9061 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.4697, allocations: 79.39 kB / 0.9062 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of SimCode: time 9.42e-07/0.4697, allocations: 0 / 0.9062 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.4259/0.8956, allocations: 25.89 MB / 0.9315 GB, free: 122.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: