Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001347/0.001347, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001471/0.001471, allocations: 177.3 kB / 15.94 MB, free: 228 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.509/1.509, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.53/2.53, allocations: 390.3 MB / 0.6653 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003809, allocations: 12 kB / 0.8145 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8939/0.8943, allocations: 142.3 MB / 0.9535 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.00441/0.8988, allocations: 3.608 MB / 0.957 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003642/0.9025, allocations: 2.439 MB / 0.9594 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004801/0.903, allocations: 7.906 kB / 0.9594 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.9033, allocations: 52.92 kB / 0.9595 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.9044, allocations: 271.9 kB / 0.9597 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.9058, allocations: 411.4 kB / 0.9601 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.9069, allocations: 421.5 kB / 0.9605 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.9079, allocations: 0.4956 MB / 0.961 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005452/0.9085, allocations: 193.6 kB / 0.9612 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006296/0.9091, allocations: 230.9 kB / 0.9614 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.9093, allocations: 18.5 kB / 0.9614 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005923/0.9099, allocations: 139.1 kB / 0.9616 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.9101, allocations: 159.7 kB / 0.9617 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.9103, allocations: 108 kB / 0.9618 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008525/0.9112, allocations: 0.5178 MB / 0.9623 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.9112, allocations: 3.938 kB / 0.9623 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9112, allocations: 0 / 0.9623 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.691e-05/0.9112, allocations: 1.188 kB / 0.9623 GB, free: 1.5 MB / 0.7169 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.001649/0.9129, allocations: 0.7253 MB / 0.963 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.9129, allocations: 9.438 kB / 0.9631 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.914, allocations: 160.7 kB / 0.9632 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006322/0.9147, allocations: 349.5 kB / 0.9635 GB, free: 500 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.9147, allocations: 29.95 kB / 0.9636 GB, free: 488 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.9149, allocations: 42.61 kB / 0.9636 GB, free: 472 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.9162, allocations: 0.8198 MB / 0.9644 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.9163, allocations: 3.25 kB / 0.9644 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.9163, allocations: 25.89 kB / 0.9644 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.9165, allocations: 68.17 kB / 0.9645 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.9178, allocations: 0.658 MB / 0.9652 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00463/0.9224, allocations: 4.636 MB / 0.9697 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.9235, allocations: 0.4953 MB / 0.9702 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.9236, allocations: 7.141 kB / 0.9702 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.9236, allocations: 37.53 kB / 0.9702 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.595e-06/0.9236, allocations: 0 / 0.9702 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.002009/0.9256, allocations: 0.9015 MB / 0.9711 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.9258, allocations: 81.7 kB / 0.9712 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/0.9262, allocations: 363.1 kB / 0.9715 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.9263, allocations: 31.02 kB / 0.9715 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.9265, allocations: 291.7 kB / 0.9718 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.9266, allocations: 122.5 kB / 0.9719 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.9267, allocations: 9.375 kB / 0.9719 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.9268, allocations: 352.2 kB / 0.9723 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/0.9273, allocations: 253 kB / 0.9725 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.9279, allocations: 480 kB / 0.973 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005416/0.9285, allocations: 320.1 kB / 0.9733 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.9285, allocations: 2.094 kB / 0.9733 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001353/0.9298, allocations: 0.7826 MB / 0.974 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001133/0.931, allocations: 2.791 MB / 0.9768 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.931, allocations: 7.062 kB / 0.9768 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.931, allocations: 11.66 kB / 0.9768 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.9318, allocations: 163.7 kB / 0.9769 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.904e-05/0.9318, allocations: 19.16 kB / 0.977 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.9323, allocations: 70.08 kB / 0.977 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.9324, allocations: 25.84 kB / 0.9771 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.9324, allocations: 5.469 kB / 0.9771 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001134/0.9336, allocations: 0.6066 MB / 0.9777 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.9336, allocations: 8.5 kB / 0.9777 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.9336, allocations: 22.33 kB / 0.9777 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/0.9342, allocations: 152 kB / 0.9778 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.9342, allocations: 18.39 kB / 0.9778 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.9346, allocations: 51.72 kB / 0.9779 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.9346, allocations: 28.36 kB / 0.9779 GB, free: 4.602 MB / 0.7325 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.0003625/0.935, allocations: 292.9 kB / 0.9782 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.9351, allocations: 39.16 kB / 0.9782 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.9364, allocations: 0.5929 MB / 0.9788 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.9364, allocations: 7.359 kB / 0.9788 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.9364, allocations: 1.281 kB / 0.9788 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.9364, allocations: 0 / 0.9788 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.9394, allocations: 1.618 MB / 0.9804 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.9394, allocations: 3.156 kB / 0.9804 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.94, allocations: 121.9 kB / 0.9805 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/0.94, allocations: 5.875 kB / 0.9805 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.9401, allocations: 9.625 kB / 0.9805 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.288e-06/0.9401, allocations: 6.312 kB / 0.9805 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.9401, allocations: 8.344 kB / 0.9806 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.9414, allocations: 0.9877 MB / 0.9815 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.9417, allocations: 171.5 kB / 0.9817 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.9419, allocations: 13.47 kB / 0.9817 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.9423, allocations: 48.28 kB / 0.9817 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.9424, allocations: 45.47 kB / 0.9818 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.9425, allocations: 11.19 kB / 0.9818 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003081/0.9428, allocations: 254.6 kB / 0.982 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9428, allocations: 0 / 0.982 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001073/0.9439, allocations: 190.7 kB / 0.9822 GB, free: 1.445 MB / 0.7325 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.0001611/0.944, allocations: 107.2 kB / 0.9823 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.9459, allocations: 0.9287 MB / 0.9832 GB, free: 416 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.755e-05/0.9459, allocations: 4 kB / 0.9832 GB, free: 412 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007356/0.9467, allocations: 280.8 kB / 0.9835 GB, free: 132 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009326/0.9476, allocations: 111.4 kB / 0.9836 GB, free: 20 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.9503, allocations: 1.214 MB / 0.9848 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.9509, allocations: 0.8828 MB / 0.9857 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005993/0.9516, allocations: 204 kB / 0.9859 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.9517, allocations: 35.44 kB / 0.9859 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of SimCode: time 6.42e-07/0.9517, allocations: 0 / 0.9859 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.01096/0.9627, allocations: 5.517 MB / 0.9913 GB, free: 8.105 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)