Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0009641/0.0009641, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001043/0.001043, allocations: 169 kB / 23.27 MB, free: 1.223 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.9242/0.9242, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7416/0.7416, allocations: 154.9 MB / 415.1 MB, free: 284 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 3.938 kB / 0.5211 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.45e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004334/0.004358, allocations: 4.709 MB / 0.5257 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002525/0.006883, allocations: 1.687 MB / 0.5274 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.007196, allocations: 35.69 kB / 0.5274 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.007736, allocations: 215.8 kB / 0.5276 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.008367, allocations: 446.3 kB / 0.528 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.008966, allocations: 380.7 kB / 0.5284 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.00998, allocations: 1.267 MB / 0.5296 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006147/0.01059, allocations: 0.5345 MB / 0.5302 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006613/0.01126, allocations: 0.6664 MB / 0.5308 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/0.01177, allocations: 0.49 MB / 0.5313 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.032e-05/0.01185, allocations: 68 kB / 0.5314 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.01208, allocations: 139.7 kB / 0.5315 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.01226, allocations: 331 kB / 0.5318 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.01246, allocations: 311.2 kB / 0.5321 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005941/0.01305, allocations: 0.728 MB / 0.5328 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01306, allocations: 0 / 0.5328 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.11e-07/0.01306, allocations: 3.031 kB / 0.5328 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.01307, allocations: 0 / 0.5328 GB, free: 5.574 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001042/0.01411, allocations: 1.174 MB / 0.534 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.01415, allocations: 12.03 kB / 0.534 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007029/0.01485, allocations: 287.4 kB / 0.5342 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.01537, allocations: 0.5237 MB / 0.5348 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.0154, allocations: 49.67 kB / 0.5348 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.01547, allocations: 72.3 kB / 0.5349 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006859/0.01616, allocations: 1.025 MB / 0.5359 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.01618, allocations: 12.11 kB / 0.5359 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.01622, allocations: 28.36 kB / 0.5359 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.121e-05/0.01631, allocations: 85.2 kB / 0.536 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.01662, allocations: 293.2 kB / 0.5363 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.01938, allocations: 5.575 MB / 0.5417 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.01975, allocations: 267.2 kB / 0.542 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.01987, allocations: 109.1 kB / 0.5421 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.01989, allocations: 9.469 kB / 0.5421 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.01992, allocations: 45.88 kB / 0.5421 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 2.044e-06/0.01992, allocations: 0 / 0.5421 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.001398/0.02132, allocations: 0.8954 MB / 0.543 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.02134, allocations: 55.91 kB / 0.5431 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.02164, allocations: 0.5261 MB / 0.5436 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.02166, allocations: 33.7 kB / 0.5436 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.02186, allocations: 475.7 kB / 0.5441 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.724e-05/0.02194, allocations: 178.5 kB / 0.5442 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.02206, allocations: 136.2 kB / 0.5444 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.02221, allocations: 0.548 MB / 0.5449 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.894e-05/0.02231, allocations: 85.92 kB / 0.545 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.02253, allocations: 404.6 kB / 0.5454 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.0229, allocations: 0.533 MB / 0.5459 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.02291, allocations: 0 / 0.5459 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007039/0.02361, allocations: 0.6789 MB / 0.5465 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.02363, allocations: 8 kB / 0.5466 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.02364, allocations: 8 kB / 0.5466 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000637/0.02427, allocations: 302.8 kB / 0.5468 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.02449, allocations: 107.8 kB / 0.547 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.02794, allocations: 7.476 MB / 0.5543 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.02819, allocations: 29.22 kB / 0.5543 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.02822, allocations: 20 kB / 0.5543 GB, free: 14.31 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.02839, allocations: 202.4 kB / 0.5545 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.02847, allocations: 87.52 kB / 0.5546 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005704/0.02904, allocations: 0.5002 MB / 0.5551 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.02904, allocations: 4 kB / 0.5551 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.02905, allocations: 7.938 kB / 0.5551 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.02905, allocations: 5.953 kB / 0.5551 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.03008, allocations: 1.004 MB / 0.5561 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.03009, allocations: 1.719 kB / 0.5561 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.0302, allocations: 47.92 kB / 0.5561 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005797/0.03078, allocations: 286.4 kB / 0.5564 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.0308, allocations: 12 kB / 0.5564 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003144/0.03394, allocations: 7.478 MB / 0.5637 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.03395, allocations: 4.5 kB / 0.5637 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006233/0.03457, allocations: 0.6889 MB / 0.5644 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.0347, allocations: 95.53 kB / 0.5645 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.03474, allocations: 8 kB / 0.5645 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.03489, allocations: 15.98 kB / 0.5645 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.03497, allocations: 47.8 kB / 0.5645 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.03499, allocations: 13.09 kB / 0.5645 GB, free: 3.203 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001729/0.03516, allocations: 322.7 kB / 0.5649 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.03516, allocations: 0 / 0.5649 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005261/0.03569, allocations: 220.8 kB / 0.5651 GB, free: 2.676 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001235/0.03581, allocations: 113.5 kB / 0.5652 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009804/0.03679, allocations: 1.145 MB / 0.5663 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.03679, allocations: 5.5 kB / 0.5663 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.03736, allocations: 0.9364 MB / 0.5672 GB, free: 340 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.03793, allocations: 202.3 kB / 0.5674 GB, free: 152 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.03962, allocations: 1.271 MB / 0.5686 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.03983, allocations: 211.3 kB / 0.5688 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003158/0.04015, allocations: 78.08 kB / 0.5689 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/0.04044, allocations: 248.7 kB / 0.5692 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of SimCode: time 1.292e-06/0.04044, allocations: 0 / 0.5692 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of Templates: time 0.01412/0.05456, allocations: 12.07 MB / 0.5809 GB, free: 2.512 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.692386052105576]