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.0015/0.001501, allocations: 114.1 kB / 16.41 MB, free: 6.48 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.001765/0.001766, allocations: 191.2 kB / 17.34 MB, free: 5.762 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7308/0.7308, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.39 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1812, allocations: 76.18 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.00801/0.1893, allocations: 3.338 MB / 0.6353 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005101/0.1944, allocations: 2.17 MB / 0.6374 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.1949, allocations: 7.938 kB / 0.6375 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.1963, allocations: 282.9 kB / 0.6377 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009539/0.1973, allocations: 238.9 kB / 0.638 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.1985, allocations: 305.1 kB / 0.6382 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006935/0.1992, allocations: 382.8 kB / 0.6386 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004881/0.1997, allocations: 200.8 kB / 0.6388 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.2, allocations: 159.4 kB / 0.639 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004565/0.2004, allocations: 179.4 kB / 0.6391 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.2005, allocations: 20 kB / 0.6391 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.2015, allocations: 431.1 kB / 0.6396 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.2017, allocations: 99.7 kB / 0.6397 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.2018, allocations: 135.3 kB / 0.6398 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006379/0.2025, allocations: 0.5141 MB / 0.6403 GB, free: 11.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2025, allocations: 0 / 0.6403 GB, free: 11.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2025, allocations: 0 / 0.6403 GB, free: 11.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.2025, allocations: 0 / 0.6403 GB, free: 11.94 MB / 494.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.0009375/0.2034, allocations: 0.6158 MB / 0.6409 GB, free: 11.28 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2035, allocations: 8.031 kB / 0.6409 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008567/0.2044, allocations: 120.4 kB / 0.641 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.2047, allocations: 287.7 kB / 0.6413 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.2047, allocations: 16.81 kB / 0.6413 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.2048, allocations: 24.36 kB / 0.6413 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007249/0.2055, allocations: 415.9 kB / 0.6417 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2056, allocations: 4 kB / 0.6417 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.2056, allocations: 8 kB / 0.6417 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/0.2056, allocations: 32.48 kB / 0.6418 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007306/0.2064, allocations: 346 kB / 0.6421 GB, free: 9.977 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.2089, allocations: 2.042 MB / 0.6441 GB, free: 7.746 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008785/0.2097, allocations: 360.9 kB / 0.6444 GB, free: 7.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.2101, allocations: 189.6 kB / 0.6446 GB, free: 7.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.865e-05/0.2102, allocations: 93.08 kB / 0.6447 GB, free: 7.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.2103, allocations: 30.56 kB / 0.6447 GB, free: 7.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.462e-06/0.2103, allocations: 4 kB / 0.6447 GB, free: 7.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.005057/0.2153, allocations: 1.575 MB / 0.6463 GB, free: 5.422 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.2154, allocations: 93.02 kB / 0.6464 GB, free: 5.312 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.2157, allocations: 233 kB / 0.6466 GB, free: 5.078 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.2157, allocations: 29.7 kB / 0.6466 GB, free: 5.043 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.2159, allocations: 188 kB / 0.6468 GB, free: 4.852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.216, allocations: 114.3 kB / 0.6469 GB, free: 4.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.2161, allocations: 82.03 kB / 0.647 GB, free: 4.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2162, allocations: 338.8 kB / 0.6473 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.2166, allocations: 198.5 kB / 0.6475 GB, free: 4.113 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.2171, allocations: 305 kB / 0.6478 GB, free: 3.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009026/0.218, allocations: 0.5085 MB / 0.6483 GB, free: 3.219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.2181, allocations: 4 kB / 0.6483 GB, free: 3.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001327/0.2194, allocations: 0.6523 MB / 0.6489 GB, free: 2.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.2194, allocations: 8 kB / 0.6489 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2194, allocations: 8 kB / 0.6489 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/0.22, allocations: 151.5 kB / 0.6491 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.2204, allocations: 91.81 kB / 0.6492 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.2238, allocations: 4.163 MB / 0.6532 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.2241, allocations: 39.86 kB / 0.6533 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.2241, allocations: 16 kB / 0.6533 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004945/0.2246, allocations: 316.9 kB / 0.6536 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004544/0.2251, allocations: 309.1 kB / 0.6539 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008722/0.226, allocations: 0.5076 MB / 0.6544 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/0.226, allocations: 4 kB / 0.6544 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001279/0.2273, allocations: 0.6487 MB / 0.655 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2273, allocations: 8 kB / 0.655 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2273, allocations: 7.938 kB / 0.655 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000409/0.2278, allocations: 147.4 kB / 0.6552 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.2281, allocations: 99.8 kB / 0.6553 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/0.2312, allocations: 4.174 MB / 0.6593 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.2316, allocations: 31.97 kB / 0.6594 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.2316, allocations: 19.98 kB / 0.6594 GB, free: 7.02 MB / 0.4981 GB 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.0001764/0.2318, allocations: 207.6 kB / 0.6596 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.462e-05/0.2319, allocations: 31.69 kB / 0.6596 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.2332, allocations: 0.6008 MB / 0.6602 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2333, allocations: 8 kB / 0.6602 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2333, allocations: 4 kB / 0.6602 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2333, allocations: 3.984 kB / 0.6602 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.2356, allocations: 1.32 MB / 0.6615 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.2356, allocations: 256 / 0.6615 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.2358, allocations: 67.89 kB / 0.6616 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004255/0.2363, allocations: 147.3 kB / 0.6617 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.2363, allocations: 8 kB / 0.6617 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003523/0.2399, allocations: 4.19 MB / 0.6658 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.2399, allocations: 4 kB / 0.6658 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.2412, allocations: 0.7624 MB / 0.6666 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.2414, allocations: 144.7 kB / 0.6667 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.2414, allocations: 8 kB / 0.6667 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.2418, allocations: 31.95 kB / 0.6667 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.242, allocations: 31.97 kB / 0.6668 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.242, allocations: 15.94 kB / 0.6668 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002136/0.2422, allocations: 172.5 kB / 0.6669 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.21e-07/0.2422, allocations: 0 / 0.6669 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009537/0.2432, allocations: 164 kB / 0.6671 GB, free: 14.57 MB / 0.5137 GB 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.0003062/0.2435, allocations: 147.1 kB / 0.6672 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.2458, allocations: 1.23 MB / 0.6684 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2458, allocations: 448 / 0.6684 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007605/0.2466, allocations: 492.9 kB / 0.6689 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.2471, allocations: 65.06 kB / 0.669 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.2486, allocations: 0.7435 MB / 0.6697 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.2491, allocations: 0.8122 MB / 0.6705 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003143/0.2494, allocations: 118.8 kB / 0.6706 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.543e-05/0.2495, allocations: 27.42 kB / 0.6706 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.2495, allocations: 0 / 0.6706 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.0112/0.2607, allocations: 6.419 MB / 0.6769 GB, free: 4.406 MB / 0.5137 GB 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)