Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001364/0.001365, allocations: 191 kB / 16.91 MB, free: 6.184 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.249/1.249, allocations: 222.9 MB / 240.6 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 288.1 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.892/0.892, allocations: 169.2 MB / 0.4985 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 98.14 kB / 0.5953 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1491, allocations: 86.97 MB / 0.6803 GB, free: 8.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005227/0.1544, allocations: 4.239 MB / 0.6844 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.1582, allocations: 2.61 MB / 0.687 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.1584, allocations: 7.938 kB / 0.687 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.1594, allocations: 342.7 kB / 0.6873 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000741/0.1602, allocations: 362.5 kB / 0.6876 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1612, allocations: 490.2 kB / 0.6881 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.2482/0.4094, allocations: 0.6889 MB / 0.6888 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006956/0.4101, allocations: 385.7 kB / 0.6892 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.4105, allocations: 265.8 kB / 0.6894 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.411, allocations: 361.4 kB / 0.6898 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.966e-05/0.411, allocations: 38.28 kB / 0.6898 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005055/0.4115, allocations: 314.7 kB / 0.6901 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.4117, allocations: 196.4 kB / 0.6903 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.4119, allocations: 252.2 kB / 0.6905 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006305/0.4126, allocations: 0.5483 MB / 0.6911 GB, free: 12.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4126, allocations: 3.25 kB / 0.6911 GB, free: 12.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4126, allocations: 0.75 kB / 0.6911 GB, free: 12.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.4126, allocations: 0.875 kB / 0.6911 GB, free: 12.2 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001223/0.4138, allocations: 0.8034 MB / 0.6918 GB, free: 11.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.4139, allocations: 8.938 kB / 0.6919 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008451/0.4147, allocations: 146 kB / 0.692 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.4151, allocations: 362 kB / 0.6923 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.4152, allocations: 31.77 kB / 0.6924 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-05/0.4152, allocations: 41.72 kB / 0.6924 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.4164, allocations: 0.8239 MB / 0.6932 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.4164, allocations: 10.31 kB / 0.6932 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.4164, allocations: 21.62 kB / 0.6932 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.67e-05/0.4165, allocations: 65.44 kB / 0.6933 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.4176, allocations: 0.6362 MB / 0.6939 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/0.4207, allocations: 4.623 MB / 0.6984 GB, free: 7.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009083/0.4216, allocations: 495.6 kB / 0.6989 GB, free: 7.328 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004608/0.4221, allocations: 278.8 kB / 0.6992 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.4221, allocations: 6.219 kB / 0.6992 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.4221, allocations: 39.05 kB / 0.6992 GB, free: 7.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.4221, allocations: 0 / 0.6992 GB, free: 7.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.001632/0.4238, allocations: 0.8626 MB / 0.7001 GB, free: 7.035 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.4238, allocations: 85.5 kB / 0.7001 GB, free: 6.941 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.4242, allocations: 365.9 kB / 0.7005 GB, free: 6.754 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.4242, allocations: 31.98 kB / 0.7005 GB, free: 6.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.4243, allocations: 285.1 kB / 0.7008 GB, free: 6.484 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.4244, allocations: 127 kB / 0.7009 GB, free: 6.387 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.4246, allocations: 113 kB / 0.701 GB, free: 6.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.4247, allocations: 357 kB / 0.7014 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.4251, allocations: 256.7 kB / 0.7016 GB, free: 5.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.4257, allocations: 471.5 kB / 0.7021 GB, free: 5.551 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009474/0.4266, allocations: 0.745 MB / 0.7028 GB, free: 5.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4266, allocations: 3.562 kB / 0.7028 GB, free: 5.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001235/0.4279, allocations: 0.7701 MB / 0.7035 GB, free: 4.836 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4279, allocations: 10.12 kB / 0.7036 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4279, allocations: 7.422 kB / 0.7036 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.428, allocations: 16 kB / 0.7036 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/0.4286, allocations: 160.7 kB / 0.7037 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.4286, allocations: 15.02 kB / 0.7037 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.4291, allocations: 66.64 kB / 0.7038 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.4292, allocations: 27.78 kB / 0.7038 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004986/0.4297, allocations: 344.1 kB / 0.7042 GB, free: 4.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004536/0.4301, allocations: 441 kB / 0.7046 GB, free: 4.273 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008082/0.4309, allocations: 0.6678 MB / 0.7052 GB, free: 3.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.157e-06/0.431, allocations: 2.5 kB / 0.7052 GB, free: 3.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.00109/0.4321, allocations: 0.6688 MB / 0.7059 GB, free: 3.605 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4321, allocations: 9.094 kB / 0.7059 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4321, allocations: 8.406 kB / 0.7059 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.4321, allocations: 11.83 kB / 0.7059 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.4326, allocations: 142.2 kB / 0.7061 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.4327, allocations: 17.64 kB / 0.7061 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.433, allocations: 50.41 kB / 0.7061 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.4331, allocations: 32.09 kB / 0.7061 GB, free: 3.566 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0001243/0.4332, allocations: 218.8 kB / 0.7064 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-05/0.4333, allocations: 39.44 kB / 0.7064 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.4344, allocations: 0.5757 MB / 0.707 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4344, allocations: 3.531 kB / 0.707 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4344, allocations: 4.594 kB / 0.707 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.4344, allocations: 2.906 kB / 0.707 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.4367, allocations: 1.606 MB / 0.7085 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4367, allocations: 3.406 kB / 0.7085 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.4373, allocations: 113.6 kB / 0.7086 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.4373, allocations: 5.688 kB / 0.7087 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.4374, allocations: 9.531 kB / 0.7087 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.4374, allocations: 14.98 kB / 0.7087 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.4374, allocations: 4.25 kB / 0.7087 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000933/0.4383, allocations: 0.7875 MB / 0.7094 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.4385, allocations: 169 kB / 0.7096 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/0.4386, allocations: 12.09 kB / 0.7096 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.439, allocations: 44.09 kB / 0.7097 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.4391, allocations: 38.05 kB / 0.7097 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.4391, allocations: 10.22 kB / 0.7097 GB, free: 1.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.4393, allocations: 262.5 kB / 0.71 GB, free: 1.469 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4393, allocations: 0 / 0.71 GB, free: 1.469 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008359/0.4402, allocations: 187.9 kB / 0.7101 GB, free: 1.449 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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 9.531e-05/0.4403, allocations: 109.3 kB / 0.7102 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.4418, allocations: 0.947 MB / 0.7112 GB, free: 1.055 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4418, allocations: 0 / 0.7112 GB, free: 1.055 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.4423, allocations: 263.1 kB / 0.7114 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/0.4431, allocations: 130.6 kB / 0.7115 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.4445, allocations: 1.261 MB / 0.7128 GB, free: 120 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.4449, allocations: 0.8706 MB / 0.7136 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.4451, allocations: 44.23 kB / 0.7137 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.4451, allocations: 0 / 0.7137 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.008653/0.4538, allocations: 6.396 MB / 0.7199 GB, free: 13.84 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)