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.002558/0.002558, allocations: 93.47 kB / 19.44 MB, free: 336 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.002097/0.002097, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.606/1.606, allocations: 177.1 MB / 203.1 MB, free: 5.562 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.366/1.366, allocations: 154.8 MB / 414.4 MB, free: 464 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.313e-06/1.313e-06, allocations: 0 / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.717e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.293 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005602/0.005629, allocations: 3.126 MB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003425/0.009054, allocations: 1.747 MB / 0.5246 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.009178, allocations: 7.938 kB / 0.5246 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.01045, allocations: 340.4 kB / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005649/0.01102, allocations: 219.3 kB / 0.5252 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.01152, allocations: 189.3 kB / 0.5253 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004477/0.01197, allocations: 330.6 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.01231, allocations: 161.7 kB / 0.5258 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003516/0.01267, allocations: 192.8 kB / 0.526 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.013, allocations: 151.6 kB / 0.5261 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/0.01305, allocations: 24.72 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.01348, allocations: 235.3 kB / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.01363, allocations: 105.3 kB / 0.5265 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.01377, allocations: 87.81 kB / 0.5266 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006837/0.01445, allocations: 446.7 kB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01446, allocations: 0 / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.01446, allocations: 0 / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.01447, allocations: 0.5 kB / 0.527 GB, free: 10.98 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.001122/0.01559, allocations: 0.579 MB / 0.5276 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.01563, allocations: 19.95 kB / 0.5276 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008591/0.01649, allocations: 145.2 kB / 0.5277 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.01686, allocations: 193.4 kB / 0.5279 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.01689, allocations: 21.98 kB / 0.5279 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.017, allocations: 24.56 kB / 0.5279 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005838/0.01758, allocations: 327.1 kB / 0.5283 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.0176, allocations: 10.48 kB / 0.5283 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.01764, allocations: 16.12 kB / 0.5283 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.01775, allocations: 36.47 kB / 0.5283 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.01812, allocations: 157.8 kB / 0.5285 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.02011, allocations: 1.238 MB / 0.5297 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.02051, allocations: 135 kB / 0.5298 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.02062, allocations: 48.23 kB / 0.5299 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.02073, allocations: 16.98 kB / 0.5299 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.02077, allocations: 41.33 kB / 0.5299 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.02078, allocations: 1.094 kB / 0.5299 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.001104/0.02188, allocations: 477 kB / 0.5304 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.02192, allocations: 51.41 kB / 0.5304 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.02219, allocations: 262.5 kB / 0.5307 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.02222, allocations: 30.73 kB / 0.5307 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.02238, allocations: 211.3 kB / 0.5309 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/0.02246, allocations: 79.38 kB / 0.531 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.02259, allocations: 67.97 kB / 0.531 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000287/0.02287, allocations: 0.504 MB / 0.5315 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.02301, allocations: 62.64 kB / 0.5316 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.02335, allocations: 133.8 kB / 0.5317 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.0237, allocations: 212.6 kB / 0.5319 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.02371, allocations: 0 / 0.5319 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007147/0.02442, allocations: 299.7 kB / 0.5322 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.02444, allocations: 8 kB / 0.5322 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.02444, allocations: 1.5 kB / 0.5322 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000743/0.02518, allocations: 113.2 kB / 0.5323 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.02546, allocations: 55.84 kB / 0.5324 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.02764, allocations: 1.973 MB / 0.5343 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.02785, allocations: 15.98 kB / 0.5343 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.02788, allocations: 13.12 kB / 0.5343 GB, free: 3.027 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.0001668/0.02805, allocations: 174.5 kB / 0.5345 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.02811, allocations: 23.84 kB / 0.5345 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.02855, allocations: 195 kB / 0.5347 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.02856, allocations: 7.938 kB / 0.5347 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.02856, allocations: 0 / 0.5347 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.02856, allocations: 3.984 kB / 0.5347 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009224/0.02949, allocations: 0.5591 MB / 0.5353 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.02949, allocations: 0 / 0.5353 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.02981, allocations: 57.8 kB / 0.5353 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.02981, allocations: 0 / 0.5353 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.02983, allocations: 8 kB / 0.5353 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.02984, allocations: 3.938 kB / 0.5353 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.02984, allocations: 0 / 0.5353 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/0.03039, allocations: 400.2 kB / 0.5357 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.0305, allocations: 35.88 kB / 0.5357 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.03053, allocations: 4 kB / 0.5357 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.03071, allocations: 17.2 kB / 0.5358 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.03076, allocations: 11.97 kB / 0.5358 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.03078, allocations: 11.94 kB / 0.5358 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001711/0.03095, allocations: 186.9 kB / 0.536 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.03095, allocations: 3.938 kB / 0.536 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003632/0.03131, allocations: 64.75 kB / 0.536 GB, free: 1.207 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.0001665/0.03148, allocations: 105 kB / 0.5361 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007411/0.03222, allocations: 388.9 kB / 0.5365 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.03222, allocations: 1.5 kB / 0.5365 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.03237, allocations: 75.59 kB / 0.5366 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.03275, allocations: 38.77 kB / 0.5366 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.03389, allocations: 0.5345 MB / 0.5371 GB, free: 48 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.0341, allocations: 156.9 kB / 0.5373 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000159/0.03426, allocations: 52.7 kB / 0.5373 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.03433, allocations: 16.5 kB / 0.5374 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of SimCode: time 4.41e-07/0.03433, allocations: 4.719 kB / 0.5374 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of Templates: time 0.007774/0.0421, allocations: 2.798 MB / 0.5401 GB, free: 13.15 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: 6.3079214269528165]