Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.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.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 102.5 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.001146/0.001146, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.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.719/1.719, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005783/0.0005784, allocations: 15.22 kB / 0.6736 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3039, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02726/0.3312, allocations: 18.67 MB / 0.8053 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.7176/1.049, allocations: 134.4 MB / 0.9366 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/1.051, allocations: 54.62 kB / 0.9366 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/1.052, allocations: 0.5322 MB / 0.9371 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004568/1.057, allocations: 1.568 MB / 0.9387 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004875/1.062, allocations: 1.55 MB / 0.9402 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005365/1.067, allocations: 2.654 MB / 0.9428 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01112/1.078, allocations: 5.732 MB / 0.9484 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/1.082, allocations: 1.339 MB / 0.9497 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003811/1.086, allocations: 1.42 MB / 0.9511 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001562/1.087, allocations: 165.7 kB / 0.9512 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/1.09, allocations: 0.5645 MB / 0.9518 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002705/1.093, allocations: 1.239 MB / 0.953 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002282/1.095, allocations: 0.703 MB / 0.9537 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009913/1.105, allocations: 5.666 MB / 0.9592 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/1.105, allocations: 0 / 0.9592 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/1.105, allocations: 0 / 0.9592 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000395/1.106, allocations: 0 / 0.9592 GB, free: 2.855 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01184/1.117, allocations: 3.302 MB / 0.9624 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.117, allocations: 9.281 kB / 0.9625 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006222/1.124, allocations: 0.8405 MB / 0.9633 GB, free: 456 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007483/1.131, allocations: 2.343 MB / 0.9656 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/1.132, allocations: 238.3 kB / 0.9658 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001872/1.133, allocations: 306.8 kB / 0.9661 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/1.147, allocations: 4.693 MB / 0.9707 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.207e-05/1.147, allocations: 9.938 kB / 0.9707 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003891/1.147, allocations: 134.9 kB / 0.9708 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003697/1.148, allocations: 217.1 kB / 0.971 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007676/1.155, allocations: 4.294 MB / 0.9752 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02827/1.184, allocations: 19.54 MB / 0.9943 GB, free: 32 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003496/1.187, allocations: 2.031 MB / 0.9963 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/1.187, allocations: 135 kB / 0.9964 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001616/1.189, allocations: 1.199 MB / 0.9976 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=160): time 4.549e-06/1.189, allocations: 7.922 kB / 0.9976 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=197): time 0.03478/1.224, allocations: 11.18 MB / 1.008 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/1.224, allocations: 308.6 kB / 1.009 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003218/1.227, allocations: 2.062 MB / 1.011 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0006399/1.228, allocations: 62.58 kB / 1.011 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001516/1.229, allocations: 1.488 MB / 1.012 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007991/1.23, allocations: 0.6575 MB / 1.013 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/1.23, allocations: 38.12 kB / 1.013 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.23, allocations: 392.4 kB / 1.013 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/1.232, allocations: 1.15 MB / 1.014 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/1.234, allocations: 1.606 MB / 1.016 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/1.236, allocations: 1.4 MB / 1.017 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.236, allocations: 7.938 kB / 1.017 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.01326/1.249, allocations: 5.104 MB / 1.022 GB, free: 2.613 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001553/1.251, allocations: 3.747 MB / 1.026 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/1.251, allocations: 12 kB / 1.026 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/1.261, allocations: 2.446 MB / 1.028 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002446/1.264, allocations: 456 kB / 1.029 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01965/1.283, allocations: 14.66 MB / 1.043 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/1.286, allocations: 192 kB / 1.043 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/1.287, allocations: 82.34 kB / 1.043 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/1.287, allocations: 4 kB / 1.043 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0102/1.297, allocations: 4.144 MB / 1.048 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/1.297, allocations: 11.94 kB / 1.048 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006622/1.303, allocations: 1.619 MB / 1.049 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/1.306, allocations: 479.6 kB / 1.05 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/1.318, allocations: 8.619 MB / 1.058 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/1.32, allocations: 178.5 kB / 1.058 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/1.321, allocations: 74.36 kB / 1.058 GB, free: 3.023 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 221 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.002777/1.323, allocations: 1.257 MB / 1.059 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006319/1.324, allocations: 233.2 kB / 1.06 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.337, allocations: 5.199 MB / 1.065 GB, free: 14.12 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.799e-05/1.337, allocations: 23.98 kB / 1.065 GB, free: 14.1 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.337, allocations: 0 / 1.065 GB, free: 14.1 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.169e-05/1.337, allocations: 15.91 kB / 1.065 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/1.358, allocations: 9.877 MB / 1.074 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/1.358, allocations: 8 kB / 1.074 GB, free: 4.738 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/1.36, allocations: 387.4 kB / 1.075 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00914/1.369, allocations: 2.268 MB / 1.077 GB, free: 2.07 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004791/1.37, allocations: 47.98 kB / 1.077 GB, free: 2.023 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01711/1.387, allocations: 14.28 MB / 1.091 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/1.387, allocations: 8 kB / 1.091 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/1.399, allocations: 5.497 MB / 1.096 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/1.402, allocations: 0.6814 MB / 1.097 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000559/1.402, allocations: 47.98 kB / 1.097 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/1.404, allocations: 226.1 kB / 1.097 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004583/1.405, allocations: 157.7 kB / 1.097 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.405, allocations: 71.97 kB / 1.098 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002306/1.407, allocations: 1.453 MB / 1.099 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.01e-07/1.407, allocations: 4 kB / 1.099 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003683/1.411, allocations: 1.202 MB / 1.1 GB, free: 9.246 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (194): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001414/1.412, allocations: 0.6617 MB / 1.101 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.422, allocations: 5.902 MB / 1.107 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.422, allocations: 128 / 1.107 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003404/1.426, allocations: 2.316 MB / 1.109 GB, free: 408 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/1.429, allocations: 0.5911 MB / 1.109 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/1.441, allocations: 8.001 MB / 1.117 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002275/1.443, allocations: 2.545 MB / 1.12 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003153/1.446, allocations: 1.006 MB / 1.121 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005841/1.447, allocations: 205.3 kB / 1.121 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of SimCode: time 7.62e-07/1.447, allocations: 0 / 1.121 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of Templates: time 0.08441/1.531, allocations: 50.36 MB / 1.17 GB, free: 1.992 MB / 0.8887 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1) Environment - environmentSimulation: