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.001178/0.001178, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001328/0.001328, allocations: 177 kB / 23.49 MB, free: 1.055 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.9811/0.9811, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.8175/0.8175, allocations: 154.8 MB / 415.1 MB, free: 0.5117 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.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.372e-06/1.372e-06, allocations: 0 / 0.5206 GB, free: 2.297 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.135e-05, allocations: 5.703 kB / 0.5206 GB, free: 2.293 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003353/0.003375, allocations: 3.172 MB / 0.5237 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.005583, allocations: 1.753 MB / 0.5254 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.0057, allocations: 7.938 kB / 0.5254 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.006351, allocations: 340.3 kB / 0.5257 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.006702, allocations: 220.4 kB / 0.5259 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.007036, allocations: 176.6 kB / 0.5261 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.007342, allocations: 327.5 kB / 0.5264 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.007603, allocations: 170.3 kB / 0.5266 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.007813, allocations: 187.6 kB / 0.5267 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.008037, allocations: 155.6 kB / 0.5269 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.00807, allocations: 21.28 kB / 0.5269 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.008325, allocations: 231.3 kB / 0.5271 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.008416, allocations: 111.7 kB / 0.5272 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.008488, allocations: 84.59 kB / 0.5273 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.008835, allocations: 334.9 kB / 0.5276 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.008837, allocations: 0.8438 kB / 0.5276 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.51e-07/0.008838, allocations: 0 / 0.5276 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.008843, allocations: 2.719 kB / 0.5276 GB, free: 11.05 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.0006834/0.009526, allocations: 0.5817 MB / 0.5282 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.009562, allocations: 11.97 kB / 0.5282 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005329/0.01009, allocations: 132.6 kB / 0.5283 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.01034, allocations: 201.2 kB / 0.5285 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.01035, allocations: 16.88 kB / 0.5286 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.24e-05/0.01043, allocations: 36.94 kB / 0.5286 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.01075, allocations: 304.2 kB / 0.5289 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.01076, allocations: 192 / 0.5289 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.01078, allocations: 8.125 kB / 0.5289 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.45e-05/0.01085, allocations: 37.22 kB / 0.5289 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.01105, allocations: 124.3 kB / 0.529 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000986/0.01203, allocations: 1.19 MB / 0.5302 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.01227, allocations: 145.9 kB / 0.5303 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.474e-05/0.01233, allocations: 47.67 kB / 0.5304 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/0.0124, allocations: 16.95 kB / 0.5304 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.01243, allocations: 37.95 kB / 0.5304 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.01243, allocations: 0 / 0.5304 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0006829/0.01311, allocations: 462.3 kB / 0.5309 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.01314, allocations: 51.41 kB / 0.5309 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.01328, allocations: 233.8 kB / 0.5312 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.01329, allocations: 32.95 kB / 0.5312 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.01365, allocations: 211.2 kB / 0.5314 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.01368, allocations: 71.41 kB / 0.5315 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.01375, allocations: 63.3 kB / 0.5315 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.01386, allocations: 0.504 MB / 0.532 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.01394, allocations: 43.97 kB / 0.532 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.01405, allocations: 121.8 kB / 0.5322 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.01424, allocations: 188.1 kB / 0.5323 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.01424, allocations: 0 / 0.5323 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003964/0.01463, allocations: 280.2 kB / 0.5326 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01465, allocations: 8 kB / 0.5326 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01465, allocations: 1.062 kB / 0.5326 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000377/0.01503, allocations: 110 kB / 0.5327 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.01516, allocations: 51.84 kB / 0.5328 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.01625, allocations: 1.922 MB / 0.5346 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.01635, allocations: 19.97 kB / 0.5347 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.01637, allocations: 9.156 kB / 0.5347 GB, free: 3.395 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 9e-05/0.01646, allocations: 173.1 kB / 0.5348 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.01649, allocations: 27.84 kB / 0.5349 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.01673, allocations: 183 kB / 0.535 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01673, allocations: 7.922 kB / 0.535 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01673, allocations: 0 / 0.535 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01674, allocations: 4.953 kB / 0.5351 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.01718, allocations: 0.5206 MB / 0.5356 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.01719, allocations: 4 kB / 0.5356 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.01734, allocations: 52.55 kB / 0.5356 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.01734, allocations: 4.656 kB / 0.5356 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.01735, allocations: 7.984 kB / 0.5356 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.01736, allocations: 8.5 kB / 0.5356 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01736, allocations: 1.531 kB / 0.5356 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.01763, allocations: 374.3 kB / 0.536 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.01768, allocations: 39.88 kB / 0.536 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.0177, allocations: 0 / 0.536 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.01778, allocations: 17.98 kB / 0.5361 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.01781, allocations: 11.97 kB / 0.5361 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.01782, allocations: 15.88 kB / 0.5361 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.531e-05/0.01791, allocations: 170.3 kB / 0.5362 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01791, allocations: 0 / 0.5362 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002259/0.01813, allocations: 70.44 kB / 0.5363 GB, free: 1.648 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.0001125/0.01824, allocations: 103.2 kB / 0.5364 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004266/0.01867, allocations: 362.8 kB / 0.5368 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01867, allocations: 4 kB / 0.5368 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.01874, allocations: 70.44 kB / 0.5368 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01899, allocations: 37.66 kB / 0.5369 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009228/0.01992, allocations: 0.5344 MB / 0.5374 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.273e-05/0.01998, allocations: 108.3 kB / 0.5375 GB, free: 400 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.083e-05/0.02007, allocations: 50.64 kB / 0.5375 GB, free: 356 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.02011, allocations: 20.5 kB / 0.5376 GB, free: 336 kB / 0.4948 GB Notification: Performance of SimCode: time 7.22e-07/0.02011, allocations: 0 / 0.5376 GB, free: 336 kB / 0.4948 GB Notification: Performance of Templates: time 0.004734/0.02485, allocations: 2.803 MB / 0.5403 GB, free: 13.66 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.9750027011614293]