Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.0007431/0.0007431, 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.0008316/0.0008316, 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.8851/0.8851, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.7326/0.7326, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") [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.0007734/0.0007734, allocations: 71.89 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.5288/0.5296, allocations: 101.9 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003885/0.5334, allocations: 3.495 MB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.536, allocations: 1.85 MB / 0.7243 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.5362, allocations: 8.719 kB / 0.7243 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006926/0.5369, allocations: 236.8 kB / 0.7246 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.5374, allocations: 225.6 kB / 0.7248 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007243/0.5381, allocations: 260 kB / 0.725 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000489/0.5386, allocations: 403.8 kB / 0.7254 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.539, allocations: 185.4 kB / 0.7256 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.5395, allocations: 225.4 kB / 0.7258 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.5399, allocations: 189.2 kB / 0.726 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.721e-05/0.5399, allocations: 27.12 kB / 0.726 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.5404, allocations: 270.1 kB / 0.7263 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.5406, allocations: 105.2 kB / 0.7264 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.5407, allocations: 118.4 kB / 0.7265 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008735/0.5416, allocations: 0.5491 MB / 0.727 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5416, allocations: 1.062 kB / 0.727 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5416, allocations: 0 / 0.727 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.5416, allocations: 4 kB / 0.727 GB, free: 18.99 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00107/0.5427, allocations: 0.5917 MB / 0.7276 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5427, allocations: 13.8 kB / 0.7276 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006301/0.5433, allocations: 129.6 kB / 0.7277 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.5437, allocations: 229.8 kB / 0.728 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.5437, allocations: 18.92 kB / 0.728 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.5438, allocations: 22.33 kB / 0.728 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009137/0.5447, allocations: 460.1 kB / 0.7284 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.5447, allocations: 7.938 kB / 0.7284 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.5447, allocations: 11.94 kB / 0.7285 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-05/0.5448, allocations: 22 kB / 0.7285 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009057/0.5457, allocations: 395.7 kB / 0.7288 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.5474, allocations: 1.268 MB / 0.7301 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.5485, allocations: 451 kB / 0.7305 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.5488, allocations: 189.7 kB / 0.7307 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.549, allocations: 14.44 kB / 0.7307 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005733/0.5496, allocations: 311.2 kB / 0.731 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 2.846e-06/0.5496, allocations: 0 / 0.731 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28): time 0.001858/0.5514, allocations: 0.6957 MB / 0.7317 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.5514, allocations: 81.52 kB / 0.7318 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.5517, allocations: 234.6 kB / 0.732 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.5517, allocations: 31.77 kB / 0.732 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.895e-05/0.5518, allocations: 165.1 kB / 0.7322 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.338e-05/0.5519, allocations: 96.17 kB / 0.7323 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.552, allocations: 72.25 kB / 0.7323 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.716e-05/0.5521, allocations: 333.1 kB / 0.7327 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/0.5525, allocations: 211.8 kB / 0.7329 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.553, allocations: 295.3 kB / 0.7331 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008831/0.5539, allocations: 474.3 kB / 0.7336 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.5539, allocations: 1.375 kB / 0.7336 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001267/0.5551, allocations: 0.5873 MB / 0.7342 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/0.5552, allocations: 33.27 kB / 0.7342 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5552, allocations: 7 kB / 0.7342 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002928/0.5555, allocations: 52.44 kB / 0.7343 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.5559, allocations: 85.66 kB / 0.7343 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.5571, allocations: 1.483 MB / 0.7358 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.5574, allocations: 58.72 kB / 0.7358 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.5575, allocations: 12.02 kB / 0.7359 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005002/0.558, allocations: 325.4 kB / 0.7362 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004268/0.5584, allocations: 279.5 kB / 0.7364 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007882/0.5592, allocations: 466.1 kB / 0.7369 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.5592, allocations: 0 / 0.7369 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001007/0.5602, allocations: 0.5554 MB / 0.7374 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.5602, allocations: 33.89 kB / 0.7374 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5602, allocations: 6.344 kB / 0.7375 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.5604, allocations: 40.91 kB / 0.7375 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.5607, allocations: 91.45 kB / 0.7376 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009567/0.5616, allocations: 1.477 MB / 0.739 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.5619, allocations: 49.77 kB / 0.7391 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.562, allocations: 16.3 kB / 0.7391 GB, free: 10.99 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.5621, allocations: 211.5 kB / 0.7393 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.5621, allocations: 25 kB / 0.7393 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009401/0.5631, allocations: 471.2 kB / 0.7398 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.5631, allocations: 1.359 kB / 0.7398 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.5631, allocations: 5.281 kB / 0.7398 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.5632, allocations: 53.95 kB / 0.7398 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.5633, allocations: 10.92 kB / 0.7398 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.5635, allocations: 52.56 kB / 0.7399 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.5636, allocations: 27.78 kB / 0.7399 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009756/0.5646, allocations: 0.597 MB / 0.7405 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001122/0.5657, allocations: 0.8517 MB / 0.7413 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003506/0.5661, allocations: 174.7 kB / 0.7415 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002014/0.5663, allocations: 181.7 kB / 0.7417 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of Backend: time 4.51e-07/0.5663, allocations: 1.031 kB / 0.7417 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002514/0.5688, allocations: 1.087 MB / 0.7427 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001115/0.5699, allocations: 0.9808 MB / 0.7437 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of Templates: time 0.0155/0.5854, allocations: 8.563 MB / 0.752 GB, free: 6.016 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.433184389024973] Failed to read output from testmodel.py, exit status != 0: 0.591672430979088 0.601874848 0.058104976 Calling exit ...