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.001101/0.001101, allocations: 96.08 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 181.8 kB / 16.92 MB, free: 6.91 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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7749/0.7749, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 8 kB / 0.4933 GB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.4987, allocations: 79.28 MB / 0.5707 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004619/0.5033, allocations: 3.011 MB / 0.5737 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004089/0.5074, allocations: 2.146 MB / 0.5758 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004413/0.5079, allocations: 11.56 kB / 0.5758 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.5083, allocations: 36.83 kB / 0.5758 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009264/0.5092, allocations: 220.6 kB / 0.576 GB, free: 7.238 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.5102, allocations: 269.2 kB / 0.5763 GB, free: 7.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009552/0.5112, allocations: 0.5299 MB / 0.5768 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007167/0.5119, allocations: 335.8 kB / 0.5771 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.5123, allocations: 123 kB / 0.5773 GB, free: 6.629 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004515/0.5128, allocations: 171.3 kB / 0.5774 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/0.5128, allocations: 11.66 kB / 0.5774 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.5139, allocations: 0.5011 MB / 0.5779 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.514, allocations: 97.41 kB / 0.578 GB, free: 6.355 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.5142, allocations: 149.4 kB / 0.5782 GB, free: 6.254 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.5154, allocations: 0.5262 MB / 0.5787 GB, free: 6.094 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5154, allocations: 0 / 0.5787 GB, free: 6.094 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5154, allocations: 0.5312 kB / 0.5787 GB, free: 6.094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.5155, allocations: 0 / 0.5787 GB, free: 6.094 MB / 430.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.00122/0.5167, allocations: 0.5704 MB / 0.5792 GB, free: 5.602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.5167, allocations: 9.531 kB / 0.5792 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.5178, allocations: 121 kB / 0.5793 GB, free: 5.582 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.5183, allocations: 270.9 kB / 0.5796 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.5184, allocations: 14.22 kB / 0.5796 GB, free: 5.332 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.5184, allocations: 22.44 kB / 0.5796 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008328/0.5193, allocations: 423.8 kB / 0.58 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.5193, allocations: 4.812 kB / 0.58 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.5193, allocations: 11.19 kB / 0.5801 GB, free: 5.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.989e-05/0.5194, allocations: 38.09 kB / 0.5801 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007686/0.5202, allocations: 353.6 kB / 0.5804 GB, free: 4.988 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.5226, allocations: 2.056 MB / 0.5824 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008476/0.5235, allocations: 365.9 kB / 0.5828 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004316/0.5239, allocations: 199.9 kB / 0.583 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.524, allocations: 86.48 kB / 0.5831 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.5241, allocations: 36.66 kB / 0.5831 GB, free: 2.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.5241, allocations: 0 / 0.5831 GB, free: 2.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005776/0.5299, allocations: 1.757 MB / 0.5848 GB, free: 2.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.5299, allocations: 84.83 kB / 0.5849 GB, free: 2.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.5302, allocations: 233.1 kB / 0.5851 GB, free: 2.102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.5303, allocations: 30.89 kB / 0.5851 GB, free: 2.066 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.701e-05/0.5304, allocations: 186.4 kB / 0.5853 GB, free: 1.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.018e-05/0.5305, allocations: 119.2 kB / 0.5854 GB, free: 1.812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.5306, allocations: 42.55 kB / 0.5855 GB, free: 1.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.5306, allocations: 336.5 kB / 0.5858 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.5311, allocations: 201.4 kB / 0.586 GB, free: 1.398 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/0.5316, allocations: 317.8 kB / 0.5863 GB, free: 1.199 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009483/0.5325, allocations: 0.5248 MB / 0.5868 GB, free: 0.918 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5326, allocations: 1.438 kB / 0.5868 GB, free: 0.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001473/0.534, allocations: 0.6719 MB / 0.5875 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/0.5341, allocations: 188.3 kB / 0.5876 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.5342, allocations: 2.656 kB / 0.5876 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006279/0.5348, allocations: 148.7 kB / 0.5878 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.5353, allocations: 96.45 kB / 0.5879 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/0.5387, allocations: 3.955 MB / 0.5917 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.5391, allocations: 35.11 kB / 0.5918 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.5392, allocations: 19.53 kB / 0.5918 GB, free: 12.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.5392, allocations: 5.156 kB / 0.5918 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001549/0.5407, allocations: 0.6283 MB / 0.5924 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5407, allocations: 3.906 kB / 0.5924 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00043/0.5412, allocations: 150.5 kB / 0.5926 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.5416, allocations: 92.05 kB / 0.5926 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007431/0.5424, allocations: 1.112 MB / 0.5937 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.5427, allocations: 40.08 kB / 0.5938 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.5427, allocations: 20.81 kB / 0.5938 GB, free: 11.12 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.0003034/0.5431, allocations: 250.3 kB / 0.594 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.76e-05/0.5432, allocations: 38.5 kB / 0.5941 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.5446, allocations: 0.6184 MB / 0.5947 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5446, allocations: 8 kB / 0.5947 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5446, allocations: 1.469 kB / 0.5947 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5447, allocations: 3.328 kB / 0.5947 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.5473, allocations: 1.337 MB / 0.596 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.5473, allocations: 2.969 kB / 0.596 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.5476, allocations: 68.08 kB / 0.5961 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004903/0.5481, allocations: 161.9 kB / 0.5962 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.5482, allocations: 7.719 kB / 0.5962 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/0.5517, allocations: 3.971 MB / 0.6001 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5517, allocations: 2.344 kB / 0.6001 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.5531, allocations: 0.7966 MB / 0.6009 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.5533, allocations: 138.7 kB / 0.601 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.5533, allocations: 9.734 kB / 0.601 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.5536, allocations: 45.98 kB / 0.6011 GB, free: 5.285 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.5537, allocations: 31.92 kB / 0.6011 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.5538, allocations: 10.69 kB / 0.6011 GB, free: 5.277 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.554, allocations: 175.9 kB / 0.6013 GB, free: 5.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.554, allocations: 3.938 kB / 0.6013 GB, free: 5.164 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008592/0.5549, allocations: 158.1 kB / 0.6014 GB, free: 5.145 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.0002664/0.5551, allocations: 142.1 kB / 0.6016 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.5574, allocations: 1.197 MB / 0.6027 GB, free: 4.355 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5574, allocations: 5.031 kB / 0.6027 GB, free: 4.352 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008237/0.5582, allocations: 0.4889 MB / 0.6032 GB, free: 4.047 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.5589, allocations: 58.2 kB / 0.6033 GB, free: 4.031 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.5603, allocations: 0.8893 MB / 0.6041 GB, free: 3.465 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.5607, allocations: 0.8104 MB / 0.6049 GB, free: 2.746 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003744/0.5611, allocations: 111 kB / 0.605 GB, free: 2.723 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.5612, allocations: 28.48 kB / 0.6051 GB, free: 2.711 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5612, allocations: 0 / 0.6051 GB, free: 2.711 MB / 446.1 MB Notification: Performance of Templates: time 0.01108/0.5723, allocations: 5.641 MB / 0.6106 GB, free: 15.97 MB / 462.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)