Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007006/0.007006, allocations: 102 kB / 15.73 MB, free: 6.477 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: 195.6 kB / 16.67 MB, free: 6.391 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 287 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.928/0.928, allocations: 169.3 MB / 0.4983 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 99.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1549, allocations: 86.97 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004287/0.1593, allocations: 2.733 MB / 0.769 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003125/0.1624, allocations: 2.018 MB / 0.771 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.1626, allocations: 8 kB / 0.771 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008665/0.1635, allocations: 227.1 kB / 0.7712 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005479/0.1641, allocations: 195.2 kB / 0.7714 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007448/0.1648, allocations: 279.2 kB / 0.7717 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004278/0.1653, allocations: 319 kB / 0.772 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008314/0.1736, allocations: 150 kB / 0.7721 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.1739, allocations: 135.5 kB / 0.7723 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.1743, allocations: 155.5 kB / 0.7724 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.406e-05/0.1744, allocations: 20 kB / 0.7724 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007131/0.1751, allocations: 379.3 kB / 0.7728 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1753, allocations: 99.7 kB / 0.7729 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.1754, allocations: 119.5 kB / 0.773 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007736/0.1762, allocations: 458.7 kB / 0.7734 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1762, allocations: 4 kB / 0.7734 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1762, allocations: 0 / 0.7734 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.1763, allocations: 4 kB / 0.7735 GB, free: 1.168 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001033/0.1773, allocations: 0.5536 MB / 0.774 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1773, allocations: 12.03 kB / 0.774 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008065/0.1782, allocations: 104.5 kB / 0.7741 GB, free: 464 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.1785, allocations: 260.5 kB / 0.7744 GB, free: 164 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1785, allocations: 16.81 kB / 0.7744 GB, free: 148 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.1786, allocations: 24.06 kB / 0.7744 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3026/0.4812, allocations: 374.3 kB / 0.7747 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.4812, allocations: 1.562 kB / 0.7748 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.4813, allocations: 14.45 kB / 0.7748 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-05/0.4813, allocations: 24.88 kB / 0.7748 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006792/0.482, allocations: 359.5 kB / 0.7751 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.4837, allocations: 1.723 MB / 0.7768 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006384/0.4843, allocations: 338.8 kB / 0.7771 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.4846, allocations: 183.9 kB / 0.7773 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.4848, allocations: 97.62 kB / 0.7774 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.4848, allocations: 33.36 kB / 0.7774 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.4848, allocations: 0 / 0.7774 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.007369/0.4922, allocations: 1.916 MB / 0.7793 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.4922, allocations: 81.05 kB / 0.7794 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.4924, allocations: 195.3 kB / 0.7796 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.4924, allocations: 31.39 kB / 0.7796 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.4925, allocations: 148.8 kB / 0.7797 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.4925, allocations: 117.7 kB / 0.7799 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.4927, allocations: 76.97 kB / 0.7799 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.483e-05/0.4927, allocations: 332.7 kB / 0.7802 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.4932, allocations: 258.2 kB / 0.7805 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.4937, allocations: 330.3 kB / 0.7808 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009207/0.4946, allocations: 0.6018 MB / 0.7814 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4946, allocations: 1.344 kB / 0.7814 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001095/0.4957, allocations: 0.6337 MB / 0.782 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4957, allocations: 6.531 kB / 0.782 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4957, allocations: 1.438 kB / 0.782 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4958, allocations: 4.719 kB / 0.782 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000901/0.4967, allocations: 151.5 kB / 0.7822 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.4967, allocations: 4.125 kB / 0.7822 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.4971, allocations: 59.17 kB / 0.7822 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.4971, allocations: 12.25 kB / 0.7822 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000523/0.4977, allocations: 358 kB / 0.7826 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004473/0.4981, allocations: 329.4 kB / 0.7829 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008748/0.499, allocations: 0.5707 MB / 0.7835 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/0.499, allocations: 4.156 kB / 0.7835 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001017/0.5, allocations: 0.622 MB / 0.7841 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.5001, allocations: 8.219 kB / 0.7841 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5001, allocations: 3.5 kB / 0.7841 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.5001, allocations: 5.219 kB / 0.7841 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/0.5009, allocations: 142.6 kB / 0.7842 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.5009, allocations: 13.05 kB / 0.7842 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.5013, allocations: 48.39 kB / 0.7843 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.5013, allocations: 14.48 kB / 0.7843 GB, free: 10.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.5014, allocations: 206.8 kB / 0.7845 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.971e-05/0.5015, allocations: 22.38 kB / 0.7845 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.5028, allocations: 0.6603 MB / 0.7852 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.5028, allocations: 7.516 kB / 0.7852 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.5028, allocations: 2.031 kB / 0.7852 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5028, allocations: 1.875 kB / 0.7852 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.5048, allocations: 1.361 MB / 0.7865 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5048, allocations: 4.562 kB / 0.7865 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005625/0.5054, allocations: 119.6 kB / 0.7866 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.5054, allocations: 3.141 kB / 0.7866 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.5055, allocations: 12.69 kB / 0.7866 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.5055, allocations: 6.406 kB / 0.7866 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5055, allocations: 14.69 kB / 0.7866 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.5063, allocations: 0.7144 MB / 0.7873 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.5065, allocations: 145 kB / 0.7875 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.5065, allocations: 12.81 kB / 0.7875 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.5069, allocations: 38.61 kB / 0.7875 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.507, allocations: 28.78 kB / 0.7876 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.507, allocations: 14.28 kB / 0.7876 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.773e-05/0.5071, allocations: 150.3 kB / 0.7877 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5071, allocations: 0 / 0.7877 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006052/0.5077, allocations: 145 kB / 0.7879 GB, free: 8.645 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001771/0.5079, allocations: 134.8 kB / 0.788 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.5094, allocations: 0.8473 MB / 0.7888 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5094, allocations: 4.188 kB / 0.7888 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.5098, allocations: 254.1 kB / 0.7891 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.5103, allocations: 47.62 kB / 0.7891 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.5114, allocations: 0.6995 MB / 0.7898 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.5116, allocations: 0.7805 MB / 0.7905 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000457/0.5121, allocations: 171 kB / 0.7907 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.5122, allocations: 34.08 kB / 0.7907 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.5122, allocations: 0 / 0.7907 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of Templates: time 0.008876/0.5211, allocations: 4.885 MB / 0.7955 GB, free: 6.766 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)