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.001159/0.001159, allocations: 92.22 kB / 19.65 MB, free: 276 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.00143/0.00143, allocations: 169 kB / 23.02 MB, free: 1.551 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.9982/0.9982, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7735/0.7735, allocations: 154.8 MB / 414.7 MB, free: 0.5078 MB / 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.473e-06/1.473e-06, allocations: 0 / 0.5205 GB, free: 1.988 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.026e-05, allocations: 4.141 kB / 0.5206 GB, free: 1.984 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005007/0.005037, allocations: 3.104 MB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.007224, allocations: 1.121 MB / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/0.007469, allocations: 23.81 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006192/0.008088, allocations: 116.6 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005481/0.008636, allocations: 245.4 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.009088, allocations: 216.6 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007004/0.009788, allocations: 0.6332 MB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.01023, allocations: 230.5 kB / 0.5261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005469/0.01078, allocations: 340.2 kB / 0.5264 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/0.01139, allocations: 212 kB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.812e-05/0.01145, allocations: 29.47 kB / 0.5266 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.01168, allocations: 87.86 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.01183, allocations: 135.6 kB / 0.5269 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.01199, allocations: 135.6 kB / 0.527 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005047/0.01249, allocations: 376.3 kB / 0.5273 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.0125, allocations: 0 / 0.5273 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.332e-06/0.0125, allocations: 0 / 0.5273 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.01251, allocations: 0 / 0.5273 GB, free: 11.03 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.00105/0.01355, allocations: 0.7356 MB / 0.5281 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.0136, allocations: 8.031 kB / 0.5281 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008968/0.0145, allocations: 197.7 kB / 0.5283 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.01505, allocations: 360.7 kB / 0.5286 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.01508, allocations: 21.03 kB / 0.5286 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.01515, allocations: 39.33 kB / 0.5287 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007075/0.01586, allocations: 0.5481 MB / 0.5292 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.01588, allocations: 3.953 kB / 0.5292 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.01592, allocations: 16 kB / 0.5292 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.869e-05/0.016, allocations: 40.62 kB / 0.5293 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.01638, allocations: 193 kB / 0.5294 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.01859, allocations: 3.547 MB / 0.5329 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.01896, allocations: 205 kB / 0.5331 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.906e-05/0.01906, allocations: 70.09 kB / 0.5332 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.01908, allocations: 8 kB / 0.5332 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.0191, allocations: 41.31 kB / 0.5332 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 2.404e-06/0.0191, allocations: 0 / 0.5332 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.00123/0.02033, allocations: 0.4898 MB / 0.5337 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.02036, allocations: 55.64 kB / 0.5337 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.02058, allocations: 378.5 kB / 0.5341 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.0206, allocations: 31.52 kB / 0.5341 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.02073, allocations: 298.8 kB / 0.5344 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.02078, allocations: 99.11 kB / 0.5345 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.159e-05/0.02086, allocations: 83.8 kB / 0.5346 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.02099, allocations: 0.5157 MB / 0.5351 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-05/0.02108, allocations: 62.06 kB / 0.5352 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.02126, allocations: 266.6 kB / 0.5354 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.02156, allocations: 381.7 kB / 0.5358 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.02156, allocations: 0 / 0.5358 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004646/0.02202, allocations: 415.8 kB / 0.5362 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.02205, allocations: 12.88 kB / 0.5362 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.02206, allocations: 4 kB / 0.5362 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.02226, allocations: 76.5 kB / 0.5363 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.02245, allocations: 79.83 kB / 0.5363 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.02246, allocations: 8.969 kB / 0.5363 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.02257, allocations: 27.97 kB / 0.5364 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.02259, allocations: 16 kB / 0.5364 GB, free: 1.18 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.0001103/0.0227, allocations: 186.2 kB / 0.5366 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.02275, allocations: 47.77 kB / 0.5366 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/0.02312, allocations: 289.3 kB / 0.5369 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.02312, allocations: 0 / 0.5369 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.02313, allocations: 6.469 kB / 0.5369 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.02313, allocations: 0 / 0.5369 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006692/0.0238, allocations: 0.6737 MB / 0.5376 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.0238, allocations: 3.938 kB / 0.5376 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.02392, allocations: 47.97 kB / 0.5376 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/0.02404, allocations: 68.03 kB / 0.5377 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.02405, allocations: 5.219 kB / 0.5377 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.02406, allocations: 7.938 kB / 0.5377 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.02406, allocations: 7.922 kB / 0.5377 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.02443, allocations: 447.5 kB / 0.5381 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.761e-05/0.0245, allocations: 55.73 kB / 0.5382 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.02453, allocations: 7.984 kB / 0.5382 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.526e-05/0.02463, allocations: 18.02 kB / 0.5382 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.02469, allocations: 27.95 kB / 0.5382 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.0247, allocations: 4 kB / 0.5382 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001363/0.02483, allocations: 247.1 kB / 0.5385 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.02483, allocations: 0 / 0.5385 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002588/0.02509, allocations: 84 kB / 0.5385 GB, free: 14.84 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 0.0001151/0.02521, allocations: 109.7 kB / 0.5386 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.02557, allocations: 252.1 kB / 0.5389 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.02557, allocations: 0 / 0.5389 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.02571, allocations: 137.1 kB / 0.539 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.02617, allocations: 134 kB / 0.5391 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009641/0.02713, allocations: 0.6691 MB / 0.5398 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.715e-05/0.02721, allocations: 125.4 kB / 0.5399 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.02735, allocations: 65.77 kB / 0.54 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.02741, allocations: 32.5 kB / 0.54 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of SimCode: time 7.72e-07/0.02741, allocations: 2.062 kB / 0.54 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.007267/0.03468, allocations: 4.798 MB / 0.5447 GB, free: 8.711 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: 4.041920913849026]