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.00157/0.00157, allocations: 92.7 kB / 19.44 MB, free: 324 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.001678/0.001678, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.472/1.472, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 1.274/1.274, allocations: 154.8 MB / 414.4 MB, free: 468 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 178] 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.663e-06/1.663e-06, allocations: 0 / 0.5199 GB, free: 2.309 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.891e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.305 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005201/0.00523, allocations: 3.041 MB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003136/0.008366, allocations: 1.676 MB / 0.5245 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.008482, allocations: 5.438 kB / 0.5245 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.009674, allocations: 335.4 kB / 0.5248 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005465/0.01022, allocations: 218.6 kB / 0.525 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.01073, allocations: 179.4 kB / 0.5252 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004508/0.01119, allocations: 330.7 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.01157, allocations: 176.9 kB / 0.5256 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.01191, allocations: 187.5 kB / 0.5258 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.01223, allocations: 148.8 kB / 0.526 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.01228, allocations: 20 kB / 0.526 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.01268, allocations: 232.2 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.01282, allocations: 103.7 kB / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.01296, allocations: 87.81 kB / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006296/0.01358, allocations: 447.6 kB / 0.5268 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01359, allocations: 0 / 0.5268 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01359, allocations: 0.9688 kB / 0.5268 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.0136, allocations: 4 kB / 0.5268 GB, free: 11.17 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.001039/0.01463, allocations: 478.6 kB / 0.5273 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.01467, allocations: 8.031 kB / 0.5273 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008608/0.01553, allocations: 157.5 kB / 0.5274 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.01588, allocations: 194.6 kB / 0.5276 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.01592, allocations: 20.86 kB / 0.5276 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.01602, allocations: 29.17 kB / 0.5277 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.01671, allocations: 421 kB / 0.5281 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.01673, allocations: 9.672 kB / 0.5281 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.01677, allocations: 12.12 kB / 0.5281 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.926e-05/0.01687, allocations: 24.48 kB / 0.5281 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.0174, allocations: 309.8 kB / 0.5284 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.0192, allocations: 1.045 MB / 0.5294 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.01968, allocations: 211.5 kB / 0.5296 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.01986, allocations: 108.8 kB / 0.5297 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.01997, allocations: 12.83 kB / 0.5297 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.02001, allocations: 30.56 kB / 0.5298 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.02001, allocations: 0.5625 kB / 0.5298 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.001501/0.02151, allocations: 0.7288 MB / 0.5305 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.02157, allocations: 55.36 kB / 0.5305 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.0218, allocations: 182.3 kB / 0.5307 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.02183, allocations: 29.7 kB / 0.5307 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.02197, allocations: 169.7 kB / 0.5309 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.135e-05/0.02206, allocations: 71.39 kB / 0.531 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.02217, allocations: 61.62 kB / 0.531 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.02237, allocations: 329.6 kB / 0.5313 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.02258, allocations: 107.9 kB / 0.5315 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.02284, allocations: 177.9 kB / 0.5316 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/0.02332, allocations: 292.1 kB / 0.5319 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.02332, allocations: 0 / 0.5319 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008848/0.02421, allocations: 427.9 kB / 0.5323 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.02423, allocations: 8.906 kB / 0.5323 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.02423, allocations: 0 / 0.5323 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000811/0.02504, allocations: 140.4 kB / 0.5325 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.02537, allocations: 55.83 kB / 0.5325 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.02767, allocations: 1.744 MB / 0.5342 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.02789, allocations: 16.02 kB / 0.5342 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.02792, allocations: 15.98 kB / 0.5342 GB, free: 3.211 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 0.0002149/0.02814, allocations: 153.8 kB / 0.5344 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.972e-05/0.02821, allocations: 23.84 kB / 0.5344 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/0.02879, allocations: 301.5 kB / 0.5347 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.02879, allocations: 0.6562 kB / 0.5347 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.02879, allocations: 0.75 kB / 0.5347 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.0288, allocations: 7.984 kB / 0.5347 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.02984, allocations: 0.6006 MB / 0.5353 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.02984, allocations: 3.938 kB / 0.5353 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.03017, allocations: 59.89 kB / 0.5354 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.03017, allocations: 2.625 kB / 0.5354 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.03019, allocations: 12.11 kB / 0.5354 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.0302, allocations: 4 kB / 0.5354 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.0302, allocations: 4 kB / 0.5354 GB, free: 2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007586/0.03096, allocations: 0.5193 MB / 0.5359 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.98e-05/0.03106, allocations: 39.91 kB / 0.5359 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.03109, allocations: 6.438 kB / 0.5359 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.03127, allocations: 11.98 kB / 0.5359 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.03132, allocations: 15.97 kB / 0.536 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.03134, allocations: 7.938 kB / 0.536 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001519/0.03149, allocations: 138.5 kB / 0.5361 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.03149, allocations: 0 / 0.5361 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004104/0.0319, allocations: 75.92 kB / 0.5362 GB, free: 1.176 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.0001963/0.0321, allocations: 104.3 kB / 0.5363 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008209/0.03292, allocations: 408.7 kB / 0.5367 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.03292, allocations: 1.25 kB / 0.5367 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.03311, allocations: 115.8 kB / 0.5368 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.03349, allocations: 32.22 kB / 0.5368 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.03474, allocations: 0.5827 MB / 0.5374 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.03495, allocations: 167.2 kB / 0.5375 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.03512, allocations: 59.58 kB / 0.5376 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.0352, allocations: 20.5 kB / 0.5376 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.0352, allocations: 0 / 0.5376 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.007415/0.04261, allocations: 2.785 MB / 0.5403 GB, free: 13.04 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.924199718981981]