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.001811/0.001811, allocations: 106.8 kB / 16.41 MB, free: 6.512 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.002008/0.002008, allocations: 187 kB / 17.34 MB, free: 5.742 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.488/1.488, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002171/0.002171, allocations: 287.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9933/0.9933, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 100.2 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5064/0.5082, allocations: 86.98 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005048/0.5133, allocations: 2.635 MB / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002551/0.5159, allocations: 1.313 MB / 0.7709 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.5162, allocations: 4 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008243/0.517, allocations: 175.3 kB / 0.7711 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.5176, allocations: 171.2 kB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.5181, allocations: 167.6 kB / 0.7714 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.5185, allocations: 251.2 kB / 0.7716 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.5189, allocations: 145.1 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.5192, allocations: 111.6 kB / 0.7719 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.5195, allocations: 123.6 kB / 0.772 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.5196, allocations: 12 kB / 0.772 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.5199, allocations: 147.7 kB / 0.7722 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.52, allocations: 63.8 kB / 0.7722 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.5202, allocations: 95.53 kB / 0.7723 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.5207, allocations: 297.6 kB / 0.7726 GB, free: 14.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5207, allocations: 0 / 0.7726 GB, free: 14.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5207, allocations: 0 / 0.7726 GB, free: 14.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.5207, allocations: 0 / 0.7726 GB, free: 14.21 MB / 0.545 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.0009927/0.5217, allocations: 0.4911 MB / 0.7731 GB, free: 13.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.5218, allocations: 8.031 kB / 0.7731 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005821/0.5224, allocations: 64.67 kB / 0.7731 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.5227, allocations: 253.5 kB / 0.7734 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.5228, allocations: 8.656 kB / 0.7734 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.5228, allocations: 20.3 kB / 0.7734 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.5234, allocations: 305.6 kB / 0.7737 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.5234, allocations: 3.938 kB / 0.7737 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.5234, allocations: 11.94 kB / 0.7737 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/0.5235, allocations: 24.27 kB / 0.7737 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.524, allocations: 264.6 kB / 0.774 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.5258, allocations: 1.498 MB / 0.7754 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.5263, allocations: 249.1 kB / 0.7757 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.5265, allocations: 133.6 kB / 0.7758 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.5266, allocations: 0 / 0.7758 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.5266, allocations: 38.56 kB / 0.7759 GB, free: 10.58 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 2.435e-06/0.5266, allocations: 0 / 0.7759 GB, free: 10.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0008164/0.5274, allocations: 344 kB / 0.7762 GB, free: 10.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.5275, allocations: 85.05 kB / 0.7763 GB, free: 10.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.5277, allocations: 179.9 kB / 0.7764 GB, free: 9.945 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.5277, allocations: 29.83 kB / 0.7765 GB, free: 9.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.5278, allocations: 144.1 kB / 0.7766 GB, free: 9.766 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.5279, allocations: 55.14 kB / 0.7767 GB, free: 9.711 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/0.528, allocations: 45.7 kB / 0.7767 GB, free: 9.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5281, allocations: 326.8 kB / 0.777 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.5284, allocations: 108.8 kB / 0.7771 GB, free: 9.223 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.5286, allocations: 166.3 kB / 0.7773 GB, free: 9.035 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/0.5291, allocations: 277.6 kB / 0.7775 GB, free: 8.742 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5291, allocations: 0 / 0.7775 GB, free: 8.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005815/0.5297, allocations: 317.1 kB / 0.7778 GB, free: 8.426 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5298, allocations: 6.5 kB / 0.7778 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.5298, allocations: 4 kB / 0.7778 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.5298, allocations: 4 kB / 0.7778 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.5301, allocations: 59.94 kB / 0.7779 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.5301, allocations: 11.92 kB / 0.7779 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.5303, allocations: 23.83 kB / 0.7779 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.5304, allocations: 20.2 kB / 0.778 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002728/0.5306, allocations: 198.4 kB / 0.7781 GB, free: 8.105 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002217/0.5309, allocations: 152.4 kB / 0.7783 GB, free: 7.926 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004257/0.5313, allocations: 258.5 kB / 0.7785 GB, free: 7.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.5313, allocations: 0 / 0.7785 GB, free: 7.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005166/0.5318, allocations: 269.1 kB / 0.7788 GB, free: 7.379 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.5319, allocations: 8 kB / 0.7788 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.5319, allocations: 4.188 kB / 0.7788 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/0.5319, allocations: 8 kB / 0.7788 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.5321, allocations: 55.89 kB / 0.7789 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5321, allocations: 4 kB / 0.7789 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.5323, allocations: 23.88 kB / 0.7789 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.5323, allocations: 12 kB / 0.7789 GB, free: 7.266 MB / 0.545 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 0.0001289/0.5325, allocations: 196.1 kB / 0.7791 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/0.5325, allocations: 15.81 kB / 0.7791 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005651/0.5331, allocations: 271 kB / 0.7794 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5331, allocations: 4 kB / 0.7794 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5331, allocations: 0 / 0.7794 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5332, allocations: 0 / 0.7794 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.5343, allocations: 0.6888 MB / 0.78 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5343, allocations: 0 / 0.78 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.5345, allocations: 43.95 kB / 0.7801 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5345, allocations: 0 / 0.7801 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.5345, allocations: 7.938 kB / 0.7801 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5345, allocations: 4 kB / 0.7801 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.5346, allocations: 3.938 kB / 0.7801 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/0.5351, allocations: 446 kB / 0.7805 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.5353, allocations: 116.9 kB / 0.7806 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.5353, allocations: 7.938 kB / 0.7806 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.5355, allocations: 23.97 kB / 0.7807 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.5356, allocations: 15.92 kB / 0.7807 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.5356, allocations: 8 kB / 0.7807 GB, free: 5.305 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001096/0.5357, allocations: 127.8 kB / 0.7808 GB, free: 5.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.723e-06/0.5358, allocations: 0 / 0.7808 GB, free: 5.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004953/0.5363, allocations: 83.72 kB / 0.7809 GB, free: 5.098 MB / 0.545 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 0.000125/0.5364, allocations: 116.3 kB / 0.781 GB, free: 4.977 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007458/0.5371, allocations: 370.6 kB / 0.7814 GB, free: 4.617 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5372, allocations: 0.9375 kB / 0.7814 GB, free: 4.617 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.5374, allocations: 124.1 kB / 0.7815 GB, free: 4.496 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.5379, allocations: 44.42 kB / 0.7815 GB, free: 4.453 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008407/0.5387, allocations: 481.7 kB / 0.782 GB, free: 3.938 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.5391, allocations: 0.7402 MB / 0.7827 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.353e-05/0.5392, allocations: 23.42 kB / 0.7827 GB, free: 3.148 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5392, allocations: 0 / 0.7827 GB, free: 3.148 MB / 0.545 GB Notification: Performance of Templates: time 0.005225/0.5445, allocations: 2.591 MB / 0.7853 GB, free: 0.5664 MB / 0.545 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)