Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009002/0.0009002, allocations: 169.2 kB / 23.19 MB, free: 1.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.89/0.89, allocations: 177.2 MB / 203.6 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7568/0.7568, allocations: 154.7 MB / 414.7 MB, free: 0.7617 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009138/0.0009138, allocations: 71.89 kB / 0.6196 GB, free: 13.1 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4892, allocations: 102 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.0188/0.508, allocations: 20.68 MB / 0.7393 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.1546/0.6626, allocations: 140.3 MB / 0.8764 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003524/0.6661, allocations: 87.44 kB / 0.8764 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00413/0.6703, allocations: 1.884 MB / 0.8783 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00626/0.6765, allocations: 2.078 MB / 0.8803 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.005377/0.6819, allocations: 2.365 MB / 0.8826 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.006469/0.6884, allocations: 5.485 MB / 0.888 GB, free: 4.684 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004846/0.6932, allocations: 3.321 MB / 0.8912 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004307/0.6975, allocations: 3.25 MB / 0.8944 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003342/0.7009, allocations: 2.429 MB / 0.8968 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.702, allocations: 0.4922 MB / 0.8972 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.7043, allocations: 1.229 MB / 0.8984 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001521/0.7058, allocations: 1.792 MB / 0.9002 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002682/0.7085, allocations: 1.762 MB / 0.9019 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.008196/0.7167, allocations: 7.857 MB / 0.9096 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.7167, allocations: 4 kB / 0.9096 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7167, allocations: 0 / 0.9096 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.041e-05/0.7168, allocations: 0 / 0.9096 GB, free: 14.43 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 836 * Number of variables: 836 Notification: Performance of Generate backend data structure: time 0.005623/0.7224, allocations: 4.288 MB / 0.9138 GB, free: 10.07 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.7225, allocations: 12.03 kB / 0.9138 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/0.7247, allocations: 0.8599 MB / 0.9146 GB, free: 9.191 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.7275, allocations: 2.499 MB / 0.9171 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.7276, allocations: 234.3 kB / 0.9173 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004688/0.7281, allocations: 312 kB / 0.9176 GB, free: 6.113 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005375/0.7334, allocations: 5.453 MB / 0.9229 GB, free: 372 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.602e-05/0.7335, allocations: 11.89 kB / 0.9229 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/0.7337, allocations: 144 kB / 0.9231 GB, free: 216 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/0.7339, allocations: 222.2 kB / 0.9233 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004649/0.7386, allocations: 4.31 MB / 0.9275 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/0.7508, allocations: 12.89 MB / 0.9401 GB, free: 14.47 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.7529, allocations: 1.986 MB / 0.942 GB, free: 12.48 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.7539, allocations: 1.079 MB / 0.9431 GB, free: 11.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.7541, allocations: 45.27 kB / 0.9431 GB, free: 11.36 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001347/0.7554, allocations: 1.539 MB / 0.9446 GB, free: 9.734 MB / 0.823 GB Notification: Performance of pre-optimization done (n=169): time 4.027e-06/0.7554, allocations: 0 / 0.9446 GB, free: 9.734 MB / 0.823 GB Notification: Performance of matching and sorting (n=206): time 0.02235/0.7778, allocations: 12.42 MB / 0.9567 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.7779, allocations: 316.7 kB / 0.957 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.7801, allocations: 2.108 MB / 0.9591 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.7802, allocations: 61.7 kB / 0.9592 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.7813, allocations: 1.563 MB / 0.9607 GB, free: 9.145 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004586/0.7818, allocations: 0.7165 MB / 0.9614 GB, free: 8.422 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005039/0.7823, allocations: 423.6 kB / 0.9618 GB, free: 8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.7824, allocations: 305.1 kB / 0.9621 GB, free: 7.699 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.7838, allocations: 1.301 MB / 0.9634 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.7855, allocations: 2.129 MB / 0.9654 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/0.7885, allocations: 3.095 MB / 0.9685 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.7886, allocations: 8 kB / 0.9685 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.008578/0.7971, allocations: 5.722 MB / 0.974 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/0.7972, allocations: 12 kB / 0.9741 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.7972, allocations: 8 kB / 0.9741 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005977/0.8032, allocations: 2.72 MB / 0.9767 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.8046, allocations: 479.2 kB / 0.9772 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/0.8191, allocations: 15.76 MB / 0.9926 GB, free: 7.438 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.821, allocations: 207.7 kB / 0.9928 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/0.8212, allocations: 91.95 kB / 0.9929 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003266/0.8244, allocations: 2.288 MB / 0.9951 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001738/0.8262, allocations: 2.043 MB / 0.9971 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002966/0.8291, allocations: 2.935 MB / 1 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.099e-05/0.8292, allocations: 4 kB / 1 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=265) (initialization_lambda0): time 0.008196/0.8374, allocations: 5.087 MB / 1.005 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.8374, allocations: 8 kB / 1.005 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.8374, allocations: 8 kB / 1.005 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004383/0.8418, allocations: 2.034 MB / 1.007 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.8428, allocations: 475.3 kB / 1.007 GB, free: 7.824 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3859/1.229, allocations: 14.17 MB / 1.021 GB, free: 252 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/1.231, allocations: 209.6 kB / 1.021 GB, free: 252 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/1.231, allocations: 90.7 kB / 1.022 GB, free: 252 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (247): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,2), (2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005715/1.232, allocations: 316.8 kB / 1.022 GB, free: 251.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003715/1.232, allocations: 247.1 kB / 1.022 GB, free: 251.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/1.243, allocations: 5.602 MB / 1.028 GB, free: 250.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.413e-05/1.243, allocations: 12.02 kB / 1.028 GB, free: 250.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.243, allocations: 3.234 kB / 1.028 GB, free: 250.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.245, allocations: 0.5859 MB / 1.028 GB, free: 250 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/1.245, allocations: 45.55 kB / 1.028 GB, free: 250 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/1.246, allocations: 242.1 kB / 1.028 GB, free: 250 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005022/1.247, allocations: 165.3 kB / 1.029 GB, free: 250 MB / 0.8855 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007363/1.254, allocations: 4.515 MB / 1.033 GB, free: 248.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005749/1.26, allocations: 4.863 MB / 1.038 GB, free: 246.5 MB / 0.8855 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001506/1.261, allocations: 1.396 MB / 1.039 GB, free: 246 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001854/1.263, allocations: 1.468 MB / 1.04 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of Backend: time 4.4e-07/1.263, allocations: 1.094 kB / 1.04 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008905/1.272, allocations: 6.156 MB / 1.047 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of SimCode: time 0.008498/1.28, allocations: 6.814 MB / 1.053 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.07435/1.355, allocations: 75.16 MB / 1.127 GB, free: 184.2 MB / 0.8855 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.420342537108809] Failed to read output from testmodel.py, exit status != 0: 1.3621352908667177 1.36802063 0.649615108 Calling exit ...