Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.0009981/0.0009981, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001039/0.001039, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9803/0.9803, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7898/0.7898, allocations: 154.9 MB / 415.9 MB, free: 268 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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.5219 GB, free: 1.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.788e-05, allocations: 7.297 kB / 0.5219 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.008692/0.00871, allocations: 3.063 MB / 0.5249 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.01035, allocations: 1.101 MB / 0.526 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.01052, allocations: 27.75 kB / 0.526 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.01095, allocations: 124 kB / 0.5261 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.01125, allocations: 258.2 kB / 0.5263 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.01152, allocations: 209 kB / 0.5265 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004662/0.01199, allocations: 0.6322 MB / 0.5272 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.01227, allocations: 227.6 kB / 0.5274 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.01262, allocations: 344.1 kB / 0.5277 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.01286, allocations: 220.4 kB / 0.5279 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.01289, allocations: 24.5 kB / 0.5279 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.01301, allocations: 99.73 kB / 0.528 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.543e-05/0.0131, allocations: 120.5 kB / 0.5282 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.989e-05/0.0132, allocations: 143.6 kB / 0.5283 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.01351, allocations: 363.8 kB / 0.5286 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.01352, allocations: 0 / 0.5286 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.22e-07/0.01352, allocations: 0 / 0.5286 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.01352, allocations: 0.5 kB / 0.5286 GB, free: 10.64 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0006301/0.01415, allocations: 0.7404 MB / 0.5294 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.01418, allocations: 12.03 kB / 0.5294 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003976/0.01458, allocations: 144.3 kB / 0.5295 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.01493, allocations: 358 kB / 0.5299 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.01495, allocations: 25.02 kB / 0.5299 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.01499, allocations: 28.38 kB / 0.5299 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.01538, allocations: 0.5246 MB / 0.5304 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.01539, allocations: 7.938 kB / 0.5304 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.01542, allocations: 15.98 kB / 0.5304 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/0.01546, allocations: 44.62 kB / 0.5305 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.01562, allocations: 159.7 kB / 0.5306 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.01724, allocations: 3.466 MB / 0.534 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.01749, allocations: 171.1 kB / 0.5342 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.752e-05/0.01756, allocations: 63.58 kB / 0.5342 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.01758, allocations: 8.562 kB / 0.5342 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.0176, allocations: 41.86 kB / 0.5343 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.0176, allocations: 0 / 0.5343 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.0006585/0.01826, allocations: 409.7 kB / 0.5347 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.01828, allocations: 55.64 kB / 0.5347 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.01846, allocations: 370.4 kB / 0.5351 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.01847, allocations: 29.7 kB / 0.5351 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.01859, allocations: 306.7 kB / 0.5354 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.01864, allocations: 107.1 kB / 0.5355 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.01872, allocations: 75.8 kB / 0.5356 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.01886, allocations: 0.5299 MB / 0.5361 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.547e-05/0.01891, allocations: 44.97 kB / 0.5361 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.01906, allocations: 256 kB / 0.5364 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.01931, allocations: 353.6 kB / 0.5367 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01931, allocations: 0 / 0.5367 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003791/0.01969, allocations: 383.4 kB / 0.5371 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.01971, allocations: 8 kB / 0.5371 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.01971, allocations: 4 kB / 0.5371 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/0.01987, allocations: 74.38 kB / 0.5372 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.02003, allocations: 79.84 kB / 0.5372 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.02003, allocations: 4 kB / 0.5373 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.02014, allocations: 19.98 kB / 0.5373 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.02016, allocations: 16 kB / 0.5373 GB, free: 1.199 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.02027, allocations: 185.3 kB / 0.5375 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.02031, allocations: 47.77 kB / 0.5375 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.02063, allocations: 261.2 kB / 0.5378 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.02063, allocations: 9.406 kB / 0.5378 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.02063, allocations: 0 / 0.5378 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.02064, allocations: 0 / 0.5378 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000612/0.02125, allocations: 0.6024 MB / 0.5384 GB, free: 20 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.02125, allocations: 0.5625 kB / 0.5384 GB, free: 20 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.02137, allocations: 40.86 kB / 0.5384 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.02149, allocations: 59.55 kB / 0.5384 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.0215, allocations: 4 kB / 0.5385 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.0215, allocations: 8.859 kB / 0.5385 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.0215, allocations: 3.938 kB / 0.5385 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.02182, allocations: 435.5 kB / 0.5389 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.02188, allocations: 55.67 kB / 0.5389 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.02191, allocations: 8 kB / 0.5389 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.684e-05/0.022, allocations: 8.5 kB / 0.5389 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.02204, allocations: 23.95 kB / 0.539 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.02205, allocations: 4.781 kB / 0.539 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001083/0.02216, allocations: 239 kB / 0.5392 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.02216, allocations: 1.562 kB / 0.5392 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000248/0.0224, allocations: 88 kB / 0.5393 GB, free: 15.01 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.638e-05/0.02249, allocations: 105.2 kB / 0.5394 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002947/0.02279, allocations: 230.4 kB / 0.5396 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02279, allocations: 4 kB / 0.5396 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.02291, allocations: 122.3 kB / 0.5397 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.02334, allocations: 127.2 kB / 0.5399 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/0.02416, allocations: 0.6705 MB / 0.5405 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.567e-05/0.02423, allocations: 125.5 kB / 0.5406 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.02434, allocations: 40.72 kB / 0.5407 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.02452, allocations: 166.1 kB / 0.5408 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of SimCode: time 9.32e-07/0.02453, allocations: 0 / 0.5408 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of Templates: time 0.006739/0.03126, allocations: 5.268 MB / 0.546 GB, free: 8.379 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.907702019903809]