Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.0009017/0.0009017, allocations: 82.61 kB / 19.87 MB, free: 4.613 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.0009091/0.0009091, allocations: 173.1 kB / 23.28 MB, free: 1.215 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.9174/0.9174, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.7828/0.7828, allocations: 154.9 MB / 415.1 MB, free: 252 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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.5211 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.498e-05, allocations: 3.219 kB / 0.5211 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003317/0.003342, allocations: 2.465 MB / 0.5235 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.00499, allocations: 1.244 MB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.005127, allocations: 7.938 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.005559, allocations: 92.06 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.005915, allocations: 191.7 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.006254, allocations: 161.5 kB / 0.5252 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.00661, allocations: 322.9 kB / 0.5255 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.006871, allocations: 177.8 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.007141, allocations: 196.6 kB / 0.5258 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.007404, allocations: 147.6 kB / 0.526 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.007433, allocations: 22.88 kB / 0.526 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.00767, allocations: 171.5 kB / 0.5262 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.208e-05/0.007762, allocations: 107.7 kB / 0.5263 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.721e-05/0.007829, allocations: 87.81 kB / 0.5263 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.008165, allocations: 291.1 kB / 0.5266 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.008169, allocations: 4 kB / 0.5266 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.21e-07/0.00817, allocations: 0 / 0.5266 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.008174, allocations: 0 / 0.5266 GB, free: 11.89 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006066/0.008781, allocations: 0.568 MB / 0.5272 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.008815, allocations: 12.03 kB / 0.5272 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004265/0.009241, allocations: 117.5 kB / 0.5273 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.009461, allocations: 193.2 kB / 0.5275 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.009476, allocations: 16.88 kB / 0.5275 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.009545, allocations: 33.42 kB / 0.5275 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.009825, allocations: 291.1 kB / 0.5278 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.009836, allocations: 192 / 0.5278 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.009855, allocations: 13 kB / 0.5278 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.185e-05/0.009917, allocations: 32.47 kB / 0.5279 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.01004, allocations: 96.25 kB / 0.528 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009177/0.01096, allocations: 1.133 MB / 0.5291 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.01115, allocations: 120.8 kB / 0.5292 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.01119, allocations: 43.66 kB / 0.5292 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-05/0.01127, allocations: 12 kB / 0.5292 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.0113, allocations: 33.39 kB / 0.5293 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.0113, allocations: 1.594 kB / 0.5293 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0005674/0.01187, allocations: 408.9 kB / 0.5297 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.0119, allocations: 59.39 kB / 0.5297 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.01202, allocations: 224.9 kB / 0.5299 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.01203, allocations: 33.7 kB / 0.53 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.01212, allocations: 215.2 kB / 0.5302 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.01216, allocations: 75.36 kB / 0.5302 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/0.01222, allocations: 55.34 kB / 0.5303 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.01234, allocations: 0.5001 MB / 0.5308 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.01239, allocations: 35.97 kB / 0.5308 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.107e-05/0.01247, allocations: 109.7 kB / 0.5309 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.0126, allocations: 163.5 kB / 0.5311 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01261, allocations: 1.969 kB / 0.5311 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003212/0.01293, allocations: 244.9 kB / 0.5313 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.01294, allocations: 11.94 kB / 0.5313 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01294, allocations: 0 / 0.5313 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003261/0.01327, allocations: 104.1 kB / 0.5314 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.01338, allocations: 47.91 kB / 0.5315 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.01445, allocations: 1.898 MB / 0.5333 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.422e-05/0.01454, allocations: 8 kB / 0.5333 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.01456, allocations: 12 kB / 0.5333 GB, free: 4.594 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.765e-05/0.01465, allocations: 168.5 kB / 0.5335 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.01469, allocations: 27.8 kB / 0.5335 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.0149, allocations: 169.8 kB / 0.5337 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01491, allocations: 0 / 0.5337 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.01491, allocations: 0 / 0.5337 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.01491, allocations: 5.109 kB / 0.5337 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.01533, allocations: 479.1 kB / 0.5341 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01533, allocations: 5.031 kB / 0.5341 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.01547, allocations: 43.97 kB / 0.5342 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.01547, allocations: 9.047 kB / 0.5342 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.01548, allocations: 4 kB / 0.5342 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01549, allocations: 4 kB / 0.5342 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01549, allocations: 0.8438 kB / 0.5342 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.01573, allocations: 359 kB / 0.5346 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.01578, allocations: 28.7 kB / 0.5346 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.0158, allocations: 7.953 kB / 0.5346 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.01587, allocations: 15.14 kB / 0.5346 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.01589, allocations: 7.984 kB / 0.5346 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.0159, allocations: 4 kB / 0.5346 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.47e-05/0.01596, allocations: 166.4 kB / 0.5348 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01596, allocations: 0 / 0.5348 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002382/0.0162, allocations: 68 kB / 0.5348 GB, free: 2.988 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.01633, allocations: 106.9 kB / 0.5349 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003539/0.01668, allocations: 349 kB / 0.5353 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01669, allocations: 0 / 0.5353 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.064e-05/0.01675, allocations: 67.58 kB / 0.5353 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.017, allocations: 45.7 kB / 0.5354 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008889/0.01789, allocations: 0.5316 MB / 0.5359 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.263e-05/0.01795, allocations: 100.3 kB / 0.536 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.762e-05/0.01803, allocations: 28.81 kB / 0.536 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.01814, allocations: 100.9 kB / 0.5361 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.01814, allocations: 0 / 0.5361 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of Templates: time 0.004587/0.02273, allocations: 2.963 MB / 0.539 GB, free: 14.8 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.611095840111375]