Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.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.0006913/0.0006913, 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.0007844/0.0007844, allocations: 169.6 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.9054/0.9054, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.724/0.724, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(IDEAS.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.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.001005/0.001005, allocations: 67.91 kB / 0.6196 GB, free: 13.12 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.4882/0.4892, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.007577/0.4968, allocations: 7.26 MB / 0.7262 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.1336/0.6303, allocations: 134.4 MB / 0.8574 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.6315, allocations: 31.75 kB / 0.8574 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.6328, allocations: 0.75 MB / 0.8582 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.6346, allocations: 0.9122 MB / 0.8591 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.6366, allocations: 1.128 MB / 0.8602 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.6382, allocations: 1.967 MB / 0.8621 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.6394, allocations: 1.13 MB / 0.8632 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000873/0.6403, allocations: 1.067 MB / 0.8642 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006795/0.641, allocations: 0.7623 MB / 0.865 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.6411, allocations: 152 kB / 0.8651 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008832/0.642, allocations: 0.7136 MB / 0.8658 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.6423, allocations: 490.4 kB / 0.8663 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.6427, allocations: 0.6298 MB / 0.8669 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.6445, allocations: 2.604 MB / 0.8694 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6445, allocations: 4 kB / 0.8694 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6445, allocations: 0 / 0.8694 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.914e-05/0.6446, allocations: 0 / 0.8694 GB, free: 7.695 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.002101/0.6467, allocations: 1.877 MB / 0.8713 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6467, allocations: 11.97 kB / 0.8713 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.6477, allocations: 343.6 kB / 0.8716 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.6488, allocations: 0.9671 MB / 0.8726 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.6488, allocations: 82.22 kB / 0.8726 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.6489, allocations: 112 kB / 0.8728 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.6505, allocations: 1.745 MB / 0.8745 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.6506, allocations: 15.92 kB / 0.8745 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/0.6506, allocations: 55.92 kB / 0.8745 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-05/0.6507, allocations: 62.06 kB / 0.8746 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.6523, allocations: 1.468 MB / 0.876 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003613/0.6559, allocations: 3.752 MB / 0.8797 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.6571, allocations: 1.034 MB / 0.8807 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/0.6576, allocations: 425.3 kB / 0.8811 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.6577, allocations: 36.97 kB / 0.8811 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007513/0.6585, allocations: 0.7841 MB / 0.8819 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=103): time 2.696e-06/0.6585, allocations: 4 kB / 0.8819 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of matching and sorting (n=104): time 0.003264/0.6617, allocations: 2.265 MB / 0.8841 GB, free: 8.246 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.6618, allocations: 248.3 kB / 0.8843 GB, free: 7.949 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/0.6627, allocations: 0.9429 MB / 0.8853 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.6627, allocations: 45.7 kB / 0.8853 GB, free: 6.93 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.6631, allocations: 0.5985 MB / 0.8859 GB, free: 6.324 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.6633, allocations: 356.9 kB / 0.8862 GB, free: 5.973 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.6635, allocations: 214.9 kB / 0.8864 GB, free: 5.754 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6636, allocations: 349.9 kB / 0.8868 GB, free: 5.406 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.6641, allocations: 421.9 kB / 0.8872 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000697/0.6648, allocations: 0.791 MB / 0.888 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.6659, allocations: 0.9995 MB / 0.8889 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6659, allocations: 0 / 0.8889 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001865/0.6678, allocations: 1.411 MB / 0.8903 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.6678, allocations: 8 kB / 0.8903 GB, free: 1.629 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.6678, allocations: 4.281 kB / 0.8903 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007501/0.6686, allocations: 304.5 kB / 0.8906 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.6691, allocations: 235.6 kB / 0.8908 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.671, allocations: 2.063 MB / 0.8928 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/0.6715, allocations: 131.4 kB / 0.893 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.6716, allocations: 47.97 kB / 0.893 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007785/0.6723, allocations: 0.6704 MB / 0.8937 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000657/0.673, allocations: 0.7793 MB / 0.8944 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001008/0.674, allocations: 0.9492 MB / 0.8954 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.404e-06/0.674, allocations: 160 / 0.8954 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.001388/0.6754, allocations: 1.212 MB / 0.8965 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.6754, allocations: 11.94 kB / 0.8966 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6754, allocations: 4 kB / 0.8966 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.6756, allocations: 69.08 kB / 0.8966 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.676, allocations: 243.6 kB / 0.8969 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000993/0.677, allocations: 1.577 MB / 0.8984 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/0.6775, allocations: 123.5 kB / 0.8985 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.6775, allocations: 51.97 kB / 0.8986 GB, free: 8.809 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.6777, allocations: 255.1 kB / 0.8988 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.6779, allocations: 119.2 kB / 0.8989 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.6798, allocations: 1.474 MB / 0.9004 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.6798, allocations: 3.984 kB / 0.9004 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6798, allocations: 0 / 0.9004 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/0.6801, allocations: 262.8 kB / 0.9006 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.6802, allocations: 27.95 kB / 0.9006 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.6806, allocations: 94.69 kB / 0.9007 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.6808, allocations: 84.83 kB / 0.9008 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001496/0.6822, allocations: 1.38 MB / 0.9022 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001847/0.6841, allocations: 1.915 MB / 0.904 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004763/0.6846, allocations: 463.7 kB / 0.9045 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006008/0.6852, allocations: 0.6646 MB / 0.9051 GB, free: 2.039 MB / 0.7761 GB Notification: Performance of Backend: time 2.7e-07/0.6852, allocations: 0 / 0.9051 GB, free: 2.039 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003886/0.6891, allocations: 2.441 MB / 0.9075 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of SimCode: time 0.002781/0.6918, allocations: 2.823 MB / 0.9103 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of Templates: time 0.0309/0.7227, allocations: 29.76 MB / 0.9393 GB, free: 15.73 MB / 0.823 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1704584481194615] Failed to read output from testmodel.py, exit status != 0: 0.7298384290188551 0.741996773 0.09502109700000001 Calling exit ...