Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_10_Buildings.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.001074/0.001074, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001296/0.001296, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.766/2.766, allocations: 437.7 MB / 0.7117 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.000415, allocations: 8 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7673/0.7678, allocations: 153.8 MB / 1.022 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004469/0.7723, allocations: 3.69 MB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003817/0.7761, allocations: 2.479 MB / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.7764, allocations: 11.88 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.7767, allocations: 63.42 kB / 1.028 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007213/0.7774, allocations: 306.6 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.7785, allocations: 407.2 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008609/0.7793, allocations: 0.7945 MB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007976/0.7801, allocations: 0.4991 MB / 1.03 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.7805, allocations: 219.1 kB / 1.031 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004804/0.781, allocations: 326.9 kB / 1.031 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.163e-05/0.781, allocations: 20 kB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003069/0.7813, allocations: 147.8 kB / 1.031 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.7815, allocations: 163.5 kB / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.301e-05/0.7816, allocations: 105.5 kB / 1.031 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.7822, allocations: 0.5278 MB / 1.032 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7822, allocations: 0 / 1.032 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7822, allocations: 4 kB / 1.032 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.7822, allocations: 0 / 1.032 GB, free: 6.375 MB / 0.7794 GB 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.7834, allocations: 0.7172 MB / 1.033 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.7835, allocations: 12.55 kB / 1.033 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008442/0.7843, allocations: 151.1 kB / 1.033 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.7848, allocations: 354 kB / 1.033 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.7849, allocations: 28.98 kB / 1.033 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.7849, allocations: 47.98 kB / 1.033 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.7862, allocations: 0.8173 MB / 1.034 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.7862, allocations: 11.92 kB / 1.034 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.749e-05/0.7863, allocations: 20 kB / 1.034 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.874e-05/0.7864, allocations: 68.56 kB / 1.034 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.7875, allocations: 0.6541 MB / 1.035 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.7913, allocations: 4.627 MB / 1.039 GB, free: 14.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009766/0.7923, allocations: 0.4931 MB / 1.04 GB, free: 13.82 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/0.7928, allocations: 293.5 kB / 1.04 GB, free: 13.53 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.7929, allocations: 7.906 kB / 1.04 GB, free: 13.53 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.7929, allocations: 38.56 kB / 1.04 GB, free: 13.48 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.7929, allocations: 0 / 1.04 GB, free: 13.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.001812/0.7947, allocations: 0.8969 MB / 1.041 GB, free: 12.57 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.7948, allocations: 81.11 kB / 1.041 GB, free: 12.48 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.7952, allocations: 357.5 kB / 1.041 GB, free: 12.12 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.7952, allocations: 33.64 kB / 1.041 GB, free: 12.08 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.7954, allocations: 287 kB / 1.042 GB, free: 11.8 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.7955, allocations: 122.3 kB / 1.042 GB, free: 11.68 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.7956, allocations: 12 kB / 1.042 GB, free: 11.66 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.7957, allocations: 346.8 kB / 1.042 GB, free: 11.32 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.7962, allocations: 260.9 kB / 1.042 GB, free: 11.06 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.7968, allocations: 490.5 kB / 1.043 GB, free: 10.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005556/0.7974, allocations: 316.7 kB / 1.043 GB, free: 10.17 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.7974, allocations: 4 kB / 1.043 GB, free: 10.17 MB / 0.795 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001293/0.7987, allocations: 0.7935 MB / 1.044 GB, free: 9.367 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.7989, allocations: 299.6 kB / 1.044 GB, free: 8.973 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.799, allocations: 8 kB / 1.044 GB, free: 8.965 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.799, allocations: 8 kB / 1.044 GB, free: 8.957 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/0.7996, allocations: 163.8 kB / 1.044 GB, free: 8.797 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-05/0.7996, allocations: 19.92 kB / 1.044 GB, free: 8.777 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.8001, allocations: 71.78 kB / 1.044 GB, free: 8.707 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.8001, allocations: 27.98 kB / 1.044 GB, free: 8.68 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.8001, allocations: 5.406 kB / 1.044 GB, free: 8.676 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009766/0.8011, allocations: 0.6052 MB / 1.045 GB, free: 8.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.8011, allocations: 4.125 kB / 1.045 GB, free: 8.066 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.8012, allocations: 19.95 kB / 1.045 GB, free: 8.047 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.8017, allocations: 151.7 kB / 1.045 GB, free: 7.898 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.8017, allocations: 15.94 kB / 1.045 GB, free: 7.883 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.802, allocations: 55.84 kB / 1.045 GB, free: 7.828 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.802, allocations: 27.98 kB / 1.045 GB, free: 7.801 MB / 0.795 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003059/0.8024, allocations: 288.8 kB / 1.046 GB, free: 7.508 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/0.8025, allocations: 39.53 kB / 1.046 GB, free: 7.469 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.8036, allocations: 0.5921 MB / 1.046 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.8036, allocations: 4 kB / 1.046 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8036, allocations: 0 / 1.046 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.8036, allocations: 3.984 kB / 1.046 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.8062, allocations: 1.625 MB / 1.048 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.8062, allocations: 4 kB / 1.048 GB, free: 5.129 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.8067, allocations: 119.8 kB / 1.048 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.8068, allocations: 4 kB / 1.048 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.8068, allocations: 12 kB / 1.048 GB, free: 4.996 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.8068, allocations: 4 kB / 1.048 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.8068, allocations: 8.188 kB / 1.048 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.8079, allocations: 0.8174 MB / 1.049 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.8081, allocations: 172.5 kB / 1.049 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.8082, allocations: 12 kB / 1.049 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.8085, allocations: 51.88 kB / 1.049 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.8087, allocations: 43.84 kB / 1.049 GB, free: 3.812 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.8087, allocations: 8 kB / 1.049 GB, free: 3.805 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002664/0.809, allocations: 259.2 kB / 1.049 GB, free: 3.559 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.809, allocations: 0 / 1.049 GB, free: 3.559 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008793/0.8099, allocations: 188 kB / 1.049 GB, free: 3.375 MB / 0.795 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001622/0.81, allocations: 107.2 kB / 1.05 GB, free: 3.258 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.8117, allocations: 0.9281 MB / 1.05 GB, free: 2.332 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8117, allocations: 0 / 1.05 GB, free: 2.332 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.8123, allocations: 284.7 kB / 1.051 GB, free: 2.055 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/0.8131, allocations: 106.7 kB / 1.051 GB, free: 1.945 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.8149, allocations: 1.218 MB / 1.052 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.8153, allocations: 0.8673 MB / 1.053 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006051/0.816, allocations: 208 kB / 1.053 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.8161, allocations: 35.44 kB / 1.053 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.8161, allocations: 0 / 1.053 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of Templates: time 0.01121/0.8273, allocations: 5.537 MB / 1.058 GB, free: 10.03 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)