Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 96.02 kB / 16.67 MB, free: 5.742 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.001249/0.001249, allocations: 182.5 kB / 17.58 MB, free: 5.477 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.395/1.395, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7146/0.7146, allocations: 115.5 MB / 408.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.000483, allocations: 8 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4416, allocations: 77.51 MB / 0.5606 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02316/0.4648, allocations: 20.76 MB / 0.5809 GB, free: 22.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1851/0.6499, allocations: 154.6 MB / 0.7319 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003729/0.6537, allocations: 59.75 kB / 0.7319 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002517/0.6563, allocations: 0.555 MB / 0.7325 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007287/0.6636, allocations: 1.716 MB / 0.7341 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005697/0.6693, allocations: 1.767 MB / 0.7359 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008648/0.678, allocations: 6.606 MB / 0.7423 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01187/0.6899, allocations: 6.599 MB / 0.7488 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/0.6934, allocations: 1.509 MB / 0.7502 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3781/1.072, allocations: 1.998 MB / 0.7522 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001413/1.073, allocations: 167.2 kB / 0.7523 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/1.077, allocations: 1.01 MB / 0.7533 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002863/1.08, allocations: 1.296 MB / 0.7546 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005354/1.085, allocations: 1.695 MB / 0.7562 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01036/1.096, allocations: 5.598 MB / 0.7617 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.096, allocations: 1.469 kB / 0.7617 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.126e-06/1.096, allocations: 0.9062 kB / 0.7617 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003719/1.096, allocations: 0 / 0.7617 GB, free: 10.91 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.01144/1.107, allocations: 3.295 MB / 0.7649 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/1.107, allocations: 8.906 kB / 0.7649 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005985/1.113, allocations: 0.8346 MB / 0.7658 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006333/1.12, allocations: 2.288 MB / 0.768 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003128/1.12, allocations: 233.4 kB / 0.7682 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001739/1.122, allocations: 304.2 kB / 0.7685 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01424/1.136, allocations: 4.766 MB / 0.7732 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.972e-05/1.136, allocations: 2.75 kB / 0.7732 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004824/1.137, allocations: 135.5 kB / 0.7733 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004885/1.137, allocations: 216.8 kB / 0.7735 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/1.149, allocations: 4.365 MB / 0.7778 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02952/1.178, allocations: 18.83 MB / 0.7961 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003498/1.182, allocations: 2.223 MB / 0.7983 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/1.184, allocations: 1.144 MB / 0.7994 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/1.184, allocations: 135.1 kB / 0.7996 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001798/1.186, allocations: 1.251 MB / 0.8008 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=166): time 3.587e-06/1.186, allocations: 0 / 0.8008 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=201): time 0.03245/1.218, allocations: 10.61 MB / 0.8111 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002031/1.218, allocations: 363.6 kB / 0.8115 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003222/1.222, allocations: 1.945 MB / 0.8134 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005577/1.222, allocations: 60.7 kB / 0.8135 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/1.224, allocations: 1.47 MB / 0.8149 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009297/1.225, allocations: 0.6681 MB / 0.8155 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/1.225, allocations: 172.5 kB / 0.8157 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.225, allocations: 304.9 kB / 0.816 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/1.227, allocations: 1.186 MB / 0.8172 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002548/1.23, allocations: 1.701 MB / 0.8188 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/1.234, allocations: 2.975 MB / 0.8217 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.902e-05/1.234, allocations: 5.188 kB / 0.8217 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01192/1.246, allocations: 4.736 MB / 0.8263 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004306/1.246, allocations: 464.1 kB / 0.8268 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/1.246, allocations: 14.97 kB / 0.8268 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007767/1.254, allocations: 1.837 MB / 0.8286 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/1.256, allocations: 498.8 kB / 0.8291 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/1.271, allocations: 9.109 MB / 0.838 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/1.275, allocations: 211.6 kB / 0.8382 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006385/1.275, allocations: 99.95 kB / 0.8383 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/1.275, allocations: 4 kB / 0.8383 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01114/1.286, allocations: 3.928 MB / 0.8421 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.627e-05/1.287, allocations: 12 kB / 0.8421 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005178/1.292, allocations: 1.195 MB / 0.8433 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/1.294, allocations: 0.4989 MB / 0.8438 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/1.305, allocations: 5.663 MB / 0.8493 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/1.308, allocations: 193.3 kB / 0.8495 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006155/1.309, allocations: 97.83 kB / 0.8496 GB, free: 15.8 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.003594/1.312, allocations: 1.236 MB / 0.8508 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008958/1.313, allocations: 228.8 kB / 0.851 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/1.326, allocations: 4.617 MB / 0.8555 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-05/1.326, allocations: 20 kB / 0.8555 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/1.326, allocations: 4 kB / 0.8555 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.817e-05/1.326, allocations: 11.95 kB / 0.8555 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/1.35, allocations: 9.755 MB / 0.8651 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.923e-05/1.35, allocations: 11.98 kB / 0.8651 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/1.352, allocations: 370.1 kB / 0.8654 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007181/1.359, allocations: 1.705 MB / 0.8671 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000482/1.36, allocations: 55.98 kB / 0.8672 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01532/1.375, allocations: 9.05 MB / 0.876 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.511e-05/1.375, allocations: 11.56 kB / 0.876 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/1.389, allocations: 4.659 MB / 0.8806 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/1.391, allocations: 0.6502 MB / 0.8812 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008999/1.392, allocations: 48 kB / 0.8812 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002519/1.394, allocations: 224.9 kB / 0.8815 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006268/1.395, allocations: 176.4 kB / 0.8816 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00026/1.395, allocations: 75.97 kB / 0.8817 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002918/1.398, allocations: 1.357 MB / 0.883 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.21e-07/1.398, allocations: 0 / 0.883 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006414/1.405, allocations: 1.291 MB / 0.8843 GB, free: 11.89 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002376/1.407, allocations: 0.802 MB / 0.8851 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.419, allocations: 5.463 MB / 0.8904 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.419, allocations: 0 / 0.8904 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004545/1.423, allocations: 2.06 MB / 0.8924 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00645/1.43, allocations: 0.6342 MB / 0.893 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/1.446, allocations: 8.578 MB / 0.9014 GB, free: 10.71 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003734/1.45, allocations: 2.47 MB / 0.9038 GB, free: 8.211 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/1.451, allocations: 231.3 kB / 0.904 GB, free: 7.984 MB / 0.67 GB Notification: Performance of SimCode: time 8.32e-07/1.451, allocations: 3.938 kB / 0.904 GB, free: 7.98 MB / 0.67 GB Notification: Performance of Templates: time 0.1095/1.561, allocations: 79.16 MB / 0.9814 GB, free: 9.043 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)