Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 112.2 kB / 16.37 MB, free: 6 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.001065/0.001065, allocations: 191.9 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.001431, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2328, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.3635/0.5964, allocations: 16.01 MB / 0.8004 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006889/0.6033, allocations: 4.858 MB / 0.8052 GB, free: 38.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.6047, allocations: 65.97 kB / 0.8052 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.6071, allocations: 1.035 MB / 0.8063 GB, free: 37.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.6089, allocations: 0.7484 MB / 0.807 GB, free: 37.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.6112, allocations: 0.9196 MB / 0.8079 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00425/0.6154, allocations: 3.613 MB / 0.8114 GB, free: 35.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005562/0.621, allocations: 4.799 MB / 0.8161 GB, free: 33.71 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/0.6238, allocations: 1.581 MB / 0.8176 GB, free: 32.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.6267, allocations: 1.775 MB / 0.8194 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007269/0.6274, allocations: 340.3 kB / 0.8197 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.6293, allocations: 0.8047 MB / 0.8205 GB, free: 32.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001528/0.6308, allocations: 1.328 MB / 0.8218 GB, free: 31.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001922/0.6328, allocations: 1.455 MB / 0.8232 GB, free: 30.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006143/0.6389, allocations: 5.129 MB / 0.8282 GB, free: 28.94 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.639, allocations: 1.125 kB / 0.8282 GB, free: 28.94 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.423e-06/0.639, allocations: 0 / 0.8282 GB, free: 28.94 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001228/0.6391, allocations: 0.6562 kB / 0.8282 GB, free: 28.94 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006001/0.6451, allocations: 2.656 MB / 0.8308 GB, free: 27.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.6451, allocations: 9.438 kB / 0.8308 GB, free: 27.38 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004349/0.6495, allocations: 0.8316 MB / 0.8316 GB, free: 27.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.6526, allocations: 1.573 MB / 0.8332 GB, free: 26.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.6527, allocations: 177.6 kB / 0.8333 GB, free: 26.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004486/0.6531, allocations: 229.8 kB / 0.8336 GB, free: 26.22 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00752/0.6607, allocations: 4.166 MB / 0.8376 GB, free: 24.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.106e-05/0.6608, allocations: 6.25 kB / 0.8376 GB, free: 24.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/0.6611, allocations: 99.69 kB / 0.8377 GB, free: 24.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002143/0.6613, allocations: 169.3 kB / 0.8379 GB, free: 24.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006375/0.6677, allocations: 3.634 MB / 0.8414 GB, free: 23.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.6839, allocations: 16.42 MB / 0.8575 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.6869, allocations: 2.297 MB / 0.8597 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007998/0.6877, allocations: 0.5861 MB / 0.8603 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.6879, allocations: 98.16 kB / 0.8604 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.6879, allocations: 39.59 kB / 0.8604 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.485e-06/0.6879, allocations: 4 kB / 0.8604 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.0053/0.6932, allocations: 3.426 MB / 0.8638 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.6933, allocations: 111.5 kB / 0.8639 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.6946, allocations: 1.016 MB / 0.8649 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-05/0.6947, allocations: 40.77 kB / 0.8649 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.6952, allocations: 1.104 MB / 0.866 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.6954, allocations: 282.8 kB / 0.8662 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.6958, allocations: 277.8 kB / 0.8665 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6959, allocations: 406.5 kB / 0.8669 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008689/0.6968, allocations: 0.6189 MB / 0.8675 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.6979, allocations: 1.185 MB / 0.8687 GB, free: 428 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/0.7001, allocations: 1.87 MB / 0.8705 GB, free: 14.95 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.7001, allocations: 6.906 kB / 0.8705 GB, free: 14.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003283/0.7034, allocations: 2.02 MB / 0.8725 GB, free: 13.89 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.7034, allocations: 13.75 kB / 0.8725 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/0.7035, allocations: 17.88 kB / 0.8725 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004311/0.7039, allocations: 164.9 kB / 0.8727 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.7051, allocations: 342.7 kB / 0.873 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.025e-05/0.7051, allocations: 39.61 kB / 0.873 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.7063, allocations: 133.5 kB / 0.8731 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.7064, allocations: 66.06 kB / 0.8732 GB, free: 13.61 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001673/0.7081, allocations: 0.9832 MB / 0.8742 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.7084, allocations: 106.7 kB / 0.8743 GB, free: 12.56 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/0.7104, allocations: 1.23 MB / 0.8755 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.7104, allocations: 11.94 kB / 0.8755 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.7105, allocations: 4 kB / 0.8755 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.7105, allocations: 3.984 kB / 0.8755 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005682/0.7162, allocations: 3.794 MB / 0.8792 GB, free: 7.344 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.7162, allocations: 4 kB / 0.8792 GB, free: 7.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/0.7168, allocations: 151.8 kB / 0.8793 GB, free: 7.191 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003533/0.7171, allocations: 139.3 kB / 0.8795 GB, free: 7.043 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.7172, allocations: 29.83 kB / 0.8795 GB, free: 7.016 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.7172, allocations: 11.88 kB / 0.8795 GB, free: 7.004 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.7172, allocations: 7.938 kB / 0.8795 GB, free: 6.996 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.7193, allocations: 1.461 MB / 0.881 GB, free: 5.48 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/0.7199, allocations: 275.7 kB / 0.8812 GB, free: 5.191 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.7201, allocations: 20 kB / 0.8812 GB, free: 5.172 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005902/0.7207, allocations: 59.91 kB / 0.8813 GB, free: 5.113 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.7208, allocations: 60.42 kB / 0.8813 GB, free: 5.055 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/0.7209, allocations: 20 kB / 0.8814 GB, free: 5.035 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001118/0.722, allocations: 0.6992 MB / 0.882 GB, free: 4.324 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.722, allocations: 4 kB / 0.8821 GB, free: 4.32 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002031/0.724, allocations: 384 kB / 0.8824 GB, free: 3.945 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002525/0.7243, allocations: 131 kB / 0.8825 GB, free: 3.809 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002669/0.727, allocations: 1.726 MB / 0.8842 GB, free: 1.996 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.727, allocations: 0 / 0.8842 GB, free: 1.996 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.728, allocations: 0.8603 MB / 0.8851 GB, free: 1.047 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.7295, allocations: 272.6 kB / 0.8853 GB, free: 0.793 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00703/0.7366, allocations: 4.133 MB / 0.8894 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/0.7384, allocations: 1.959 MB / 0.8913 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/0.7388, allocations: 103.4 kB / 0.8914 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of SimCode: time 1.012e-06/0.7388, allocations: 0 / 0.8914 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of Templates: time 0.07105/0.8099, allocations: 73.29 MB / 0.9629 GB, free: 1.223 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)