Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006727/0.006728, allocations: 99.75 kB / 15.73 MB, free: 6.062 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.001319/0.001319, allocations: 198.3 kB / 16.68 MB, free: 5.973 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 271.2 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9525/0.9525, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 104.2 kB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1634, allocations: 86.97 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004227/0.1677, allocations: 2.636 MB / 0.769 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1698, allocations: 1.313 MB / 0.7702 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.17, allocations: 7.938 kB / 0.7702 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006966/0.1707, allocations: 179.2 kB / 0.7704 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004366/0.1711, allocations: 167.3 kB / 0.7706 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.1715, allocations: 163.6 kB / 0.7707 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.1719, allocations: 267.2 kB / 0.771 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.1722, allocations: 149.4 kB / 0.7711 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.1724, allocations: 99.67 kB / 0.7712 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.1727, allocations: 135.5 kB / 0.7714 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.1727, allocations: 12 kB / 0.7714 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.173, allocations: 147.7 kB / 0.7715 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.735e-05/0.1731, allocations: 67.88 kB / 0.7716 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1732, allocations: 95.45 kB / 0.7717 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.1736, allocations: 287.1 kB / 0.7719 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1736, allocations: 8 kB / 0.7719 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1736, allocations: 0 / 0.7719 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.1736, allocations: 0 / 0.7719 GB, free: 2.695 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007884/0.1744, allocations: 495 kB / 0.7724 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1744, allocations: 8.031 kB / 0.7724 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005193/0.175, allocations: 68.67 kB / 0.7725 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.1753, allocations: 249.1 kB / 0.7727 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1753, allocations: 16.64 kB / 0.7727 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1753, allocations: 12.38 kB / 0.7728 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.1758, allocations: 300.9 kB / 0.773 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1759, allocations: 4 kB / 0.773 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.1759, allocations: 7.984 kB / 0.7731 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.1759, allocations: 28.25 kB / 0.7731 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.1764, allocations: 264.5 kB / 0.7733 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3211/0.4975, allocations: 1.484 MB / 0.7748 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.4981, allocations: 262.2 kB / 0.775 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.4983, allocations: 131.5 kB / 0.7752 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.4984, allocations: 1.984 kB / 0.7752 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.4984, allocations: 33.39 kB / 0.7752 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.4984, allocations: 2.438 kB / 0.7752 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007742/0.4992, allocations: 341 kB / 0.7755 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.4992, allocations: 81.77 kB / 0.7756 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.4994, allocations: 172.2 kB / 0.7758 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.4994, allocations: 31.09 kB / 0.7758 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.4994, allocations: 152.7 kB / 0.7759 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.4995, allocations: 45.31 kB / 0.776 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-05/0.4996, allocations: 49.34 kB / 0.776 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.4996, allocations: 326.7 kB / 0.7763 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.4998, allocations: 107.1 kB / 0.7764 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.5001, allocations: 168.7 kB / 0.7766 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.5005, allocations: 281.6 kB / 0.7769 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5005, allocations: 1.562 kB / 0.7769 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005411/0.5011, allocations: 310.6 kB / 0.7772 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.5011, allocations: 6.344 kB / 0.7772 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.5011, allocations: 1.719 kB / 0.7772 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.5011, allocations: 4.375 kB / 0.7772 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.5014, allocations: 60.42 kB / 0.7772 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.5015, allocations: 6.656 kB / 0.7772 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.5017, allocations: 35.83 kB / 0.7773 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.5017, allocations: 8.656 kB / 0.7773 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002489/0.5019, allocations: 193.2 kB / 0.7775 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002004/0.5021, allocations: 154.3 kB / 0.7776 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003629/0.5025, allocations: 263.4 kB / 0.7779 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.5025, allocations: 4.094 kB / 0.7779 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004717/0.503, allocations: 274.1 kB / 0.7781 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.503, allocations: 9.219 kB / 0.7781 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.503, allocations: 2.625 kB / 0.7781 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.503, allocations: 3.75 kB / 0.7781 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.5033, allocations: 51.3 kB / 0.7782 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.5033, allocations: 8.469 kB / 0.7782 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.5034, allocations: 29.59 kB / 0.7782 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.5035, allocations: 8 kB / 0.7782 GB, free: 13.04 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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 6.991e-05/0.5035, allocations: 197.2 kB / 0.7784 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.5036, allocations: 20.12 kB / 0.7784 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005215/0.5041, allocations: 268.3 kB / 0.7787 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5041, allocations: 2.344 kB / 0.7787 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5042, allocations: 0 / 0.7787 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.5042, allocations: 2.688 kB / 0.7787 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009282/0.5051, allocations: 0.6884 MB / 0.7794 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5051, allocations: 1.875 kB / 0.7794 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.5053, allocations: 42.73 kB / 0.7794 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5054, allocations: 5.953 kB / 0.7794 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.5054, allocations: 6.938 kB / 0.7794 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5054, allocations: 2.188 kB / 0.7794 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5054, allocations: 5.531 kB / 0.7794 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.5059, allocations: 451.5 kB / 0.7799 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/0.506, allocations: 107.7 kB / 0.78 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.506, allocations: 15.52 kB / 0.78 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.5062, allocations: 16.36 kB / 0.78 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.5063, allocations: 23.2 kB / 0.78 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.5063, allocations: 8.312 kB / 0.78 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.827e-05/0.5064, allocations: 135.4 kB / 0.7802 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5064, allocations: 0.9688 kB / 0.7802 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004771/0.5069, allocations: 80.81 kB / 0.7802 GB, free: 11.71 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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 8.165e-05/0.507, allocations: 102.2 kB / 0.7803 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007036/0.5077, allocations: 381.6 kB / 0.7807 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5077, allocations: 1.031 kB / 0.7807 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.5079, allocations: 115.3 kB / 0.7808 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.5084, allocations: 42.61 kB / 0.7809 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.509, allocations: 435.9 kB / 0.7813 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.5092, allocations: 0.7483 MB / 0.782 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001797/0.5093, allocations: 74.55 kB / 0.7821 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.5094, allocations: 18.5 kB / 0.7821 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.5094, allocations: 0 / 0.7821 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of Templates: time 0.00489/0.5143, allocations: 2.346 MB / 0.7844 GB, free: 10.35 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)