Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008513/0.0008513, allocations: 90.42 kB / 16.67 MB, free: 6.594 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.0009517/0.0009518, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.45/1.45, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7212/0.7212, allocations: 115.5 MB / 408.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003225, allocations: 12 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3966, allocations: 77.51 MB / 0.5606 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003267/0.3999, allocations: 3.011 MB / 0.5635 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.4029, allocations: 2.149 MB / 0.5656 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.4031, allocations: 7.562 kB / 0.5656 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.4033, allocations: 38.78 kB / 0.5657 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005995/0.4039, allocations: 212.3 kB / 0.5659 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007913/0.4047, allocations: 262.2 kB / 0.5661 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006462/0.4054, allocations: 0.5414 MB / 0.5667 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005582/0.406, allocations: 339.1 kB / 0.567 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.4062, allocations: 126.5 kB / 0.5671 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.4066, allocations: 176 kB / 0.5673 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.4066, allocations: 11.59 kB / 0.5673 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009286/0.4075, allocations: 0.4979 MB / 0.5678 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.4077, allocations: 91.81 kB / 0.5678 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.4078, allocations: 148.1 kB / 0.568 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005525/0.4084, allocations: 393.2 kB / 0.5684 GB, free: 30.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4084, allocations: 0 / 0.5684 GB, free: 30.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4084, allocations: 1.125 kB / 0.5684 GB, free: 30.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.4084, allocations: 0 / 0.5684 GB, free: 30.84 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008171/0.4092, allocations: 0.5715 MB / 0.5689 GB, free: 30.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4093, allocations: 17.62 kB / 0.5689 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008995/0.4102, allocations: 121 kB / 0.5691 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.4105, allocations: 267.7 kB / 0.5693 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.4105, allocations: 21.98 kB / 0.5693 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.4105, allocations: 17.97 kB / 0.5693 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/0.4112, allocations: 425.6 kB / 0.5698 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4113, allocations: 0.7031 kB / 0.5698 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.4113, allocations: 11.23 kB / 0.5698 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.993e-05/0.4114, allocations: 38.34 kB / 0.5698 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006678/0.412, allocations: 355.4 kB / 0.5701 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.4146, allocations: 2.057 MB / 0.5722 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008038/0.4154, allocations: 358.9 kB / 0.5725 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/0.4158, allocations: 203.1 kB / 0.5727 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.654e-05/0.4159, allocations: 87.77 kB / 0.5728 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.416, allocations: 41.78 kB / 0.5728 GB, free: 27.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.094e-06/0.416, allocations: 1.062 kB / 0.5728 GB, free: 27.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.00546/0.4215, allocations: 1.747 MB / 0.5745 GB, free: 27.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.4215, allocations: 90.66 kB / 0.5746 GB, free: 27.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.4218, allocations: 237.9 kB / 0.5748 GB, free: 26.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.4218, allocations: 36.47 kB / 0.5749 GB, free: 26.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/0.4219, allocations: 180.9 kB / 0.575 GB, free: 26.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.668e-05/0.422, allocations: 116.7 kB / 0.5751 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.4221, allocations: 37.55 kB / 0.5752 GB, free: 26.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.4221, allocations: 338.2 kB / 0.5755 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.4225, allocations: 202.6 kB / 0.5757 GB, free: 26.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/0.423, allocations: 316.8 kB / 0.576 GB, free: 26.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008438/0.4239, allocations: 0.5328 MB / 0.5765 GB, free: 25.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4239, allocations: 1.375 kB / 0.5765 GB, free: 25.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001265/0.4251, allocations: 0.6812 MB / 0.5772 GB, free: 25.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.059e-05/0.4252, allocations: 178.3 kB / 0.5774 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.4252, allocations: 5.922 kB / 0.5774 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005141/0.4258, allocations: 145.3 kB / 0.5775 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.4262, allocations: 97.8 kB / 0.5776 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.4283, allocations: 3.951 MB / 0.5815 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.4287, allocations: 35.34 kB / 0.5815 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.4287, allocations: 17.95 kB / 0.5815 GB, free: 21.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/0.4288, allocations: 7.5 kB / 0.5815 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001294/0.4301, allocations: 0.6243 MB / 0.5821 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4301, allocations: 4.391 kB / 0.5821 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/0.4305, allocations: 154.1 kB / 0.5823 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.4309, allocations: 92.33 kB / 0.5824 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004219/0.4313, allocations: 1.116 MB / 0.5835 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.4316, allocations: 34.34 kB / 0.5835 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.4317, allocations: 17.95 kB / 0.5835 GB, free: 19.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002232/0.4319, allocations: 255.8 kB / 0.5837 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.992e-05/0.432, allocations: 25.52 kB / 0.5838 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.4333, allocations: 0.6231 MB / 0.5844 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.4333, allocations: 4.312 kB / 0.5844 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4333, allocations: 5.094 kB / 0.5844 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.4333, allocations: 3.297 kB / 0.5844 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.4355, allocations: 1.346 MB / 0.5857 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.4356, allocations: 3.219 kB / 0.5857 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.4358, allocations: 68 kB / 0.5858 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004442/0.4363, allocations: 157.4 kB / 0.5859 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.4363, allocations: 13.11 kB / 0.5859 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.4384, allocations: 3.966 MB / 0.5898 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4384, allocations: 3.359 kB / 0.5898 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.4396, allocations: 0.7935 MB / 0.5906 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.4398, allocations: 139.8 kB / 0.5907 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.4398, allocations: 8.812 kB / 0.5907 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.4401, allocations: 42.14 kB / 0.5908 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.895e-05/0.4403, allocations: 35.77 kB / 0.5908 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.4403, allocations: 14.73 kB / 0.5908 GB, free: 14.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.4404, allocations: 171.6 kB / 0.591 GB, free: 14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4404, allocations: 0 / 0.591 GB, free: 14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008665/0.4413, allocations: 166.2 kB / 0.5911 GB, free: 13.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (31): * Single equations (assignments): 27 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002129/0.4415, allocations: 137 kB / 0.5913 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.4436, allocations: 1.196 MB / 0.5924 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4436, allocations: 0 / 0.5924 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007249/0.4443, allocations: 0.4928 MB / 0.5929 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.445, allocations: 53.11 kB / 0.593 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.4462, allocations: 0.932 MB / 0.5939 GB, free: 12.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.4465, allocations: 0.8067 MB / 0.5947 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.4467, allocations: 27.64 kB / 0.5947 GB, free: 11.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4467, allocations: 0.9375 kB / 0.5947 GB, free: 11.54 MB / 446.1 MB Notification: Performance of Templates: time 0.01071/0.4574, allocations: 8.956 MB / 0.6034 GB, free: 5.84 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)