Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.05282/0.05282, allocations: 9.132 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.000866/0.000866, allocations: 95.2 kB / 35.33 MB, free: 1.078 MB / 24.77 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.001961/0.001961, allocations: 163.8 kB / 38.73 MB, free: 2.516 MB / 24.77 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.019/1.019, allocations: 177.2 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.008109/0.008109, allocations: 0.8224 MB / 276.5 MB, free: 0.7422 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.706/1.706, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.953e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003326/0.003345, allocations: 2.491 MB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002123/0.005468, allocations: 1.265 MB / 0.6415 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.005618, allocations: 7.938 kB / 0.6415 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.006084, allocations: 91.52 kB / 0.6416 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.006484, allocations: 190.9 kB / 0.6418 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.006865, allocations: 163.5 kB / 0.6419 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.000419/0.007284, allocations: 326.9 kB / 0.6422 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003307/0.007615, allocations: 182.3 kB / 0.6424 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.007955, allocations: 187.6 kB / 0.6426 GB, free: 9.234 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.008253, allocations: 151.6 kB / 0.6427 GB, free: 9.086 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.008287, allocations: 24 kB / 0.6428 GB, free: 9.062 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.008554, allocations: 151.6 kB / 0.6429 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.00866, allocations: 111.7 kB / 0.643 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.008741, allocations: 87.8 kB / 0.6431 GB, free: 8.719 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.009105, allocations: 295 kB / 0.6434 GB, free: 8.43 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.009107, allocations: 0 / 0.6434 GB, free: 8.43 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.62e-07/0.009108, allocations: 0 / 0.6434 GB, free: 8.43 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.009113, allocations: 0 / 0.6434 GB, free: 8.43 MB / 0.6043 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.0006553/0.009768, allocations: 456 kB / 0.6438 GB, free: 7.961 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.009806, allocations: 11.98 kB / 0.6438 GB, free: 7.949 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004561/0.01026, allocations: 128.6 kB / 0.644 GB, free: 7.824 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.01047, allocations: 181.5 kB / 0.6441 GB, free: 7.621 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.01049, allocations: 16.88 kB / 0.6441 GB, free: 7.605 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/0.01056, allocations: 28.55 kB / 0.6442 GB, free: 7.578 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.01084, allocations: 283.7 kB / 0.6444 GB, free: 7.262 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.01086, allocations: 4.188 kB / 0.6444 GB, free: 7.258 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.01088, allocations: 12.12 kB / 0.6445 GB, free: 7.246 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.498e-05/0.01094, allocations: 36.41 kB / 0.6445 GB, free: 7.211 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.01107, allocations: 83.39 kB / 0.6446 GB, free: 7.125 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.01231, allocations: 0.8417 MB / 0.6454 GB, free: 6.25 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.01252, allocations: 160.1 kB / 0.6455 GB, free: 6.082 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.01257, allocations: 40.8 kB / 0.6456 GB, free: 6.039 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 7.509e-05/0.01265, allocations: 11.98 kB / 0.6456 GB, free: 6.027 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.01267, allocations: 34.56 kB / 0.6456 GB, free: 5.984 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=18): time 1.963e-06/0.01267, allocations: 0 / 0.6456 GB, free: 5.984 MB / 0.6043 GB Notification: Performance of matching and sorting (n=19): time 0.0005933/0.01327, allocations: 360.7 kB / 0.646 GB, free: 5.602 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.01329, allocations: 55.41 kB / 0.646 GB, free: 5.535 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.0134, allocations: 178.5 kB / 0.6462 GB, free: 5.348 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.01341, allocations: 29.7 kB / 0.6462 GB, free: 5.312 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.01348, allocations: 160.5 kB / 0.6464 GB, free: 5.152 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.01352, allocations: 67.42 kB / 0.6464 GB, free: 5.086 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.865e-05/0.01359, allocations: 61.61 kB / 0.6465 GB, free: 5.02 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/0.01367, allocations: 326.8 kB / 0.6468 GB, free: 4.691 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.01371, allocations: 31.97 kB / 0.6468 GB, free: 4.66 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.01378, allocations: 93.88 kB / 0.6469 GB, free: 4.547 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.01391, allocations: 136.6 kB / 0.6471 GB, free: 4.391 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01391, allocations: 4 kB / 0.6471 GB, free: 4.387 MB / 0.6043 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002881/0.0142, allocations: 204.9 kB / 0.6473 GB, free: 4.176 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.01421, allocations: 8 kB / 0.6473 GB, free: 4.168 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01422, allocations: 4.188 kB / 0.6473 GB, free: 4.164 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003288/0.01455, allocations: 99.56 kB / 0.6474 GB, free: 4.062 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.01466, allocations: 47.91 kB / 0.6474 GB, free: 4.016 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000974/0.01563, allocations: 1.347 MB / 0.6487 GB, free: 2.566 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.201e-05/0.01572, allocations: 4 kB / 0.6487 GB, free: 2.562 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.01573, allocations: 12 kB / 0.6487 GB, free: 2.551 MB / 0.6043 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 8.709e-05/0.01582, allocations: 124.6 kB / 0.6489 GB, free: 2.418 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.01585, allocations: 11.98 kB / 0.6489 GB, free: 2.406 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.01604, allocations: 151.3 kB / 0.649 GB, free: 2.254 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01604, allocations: 8 kB / 0.649 GB, free: 2.246 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.01604, allocations: 0 / 0.649 GB, free: 2.246 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01605, allocations: 0 / 0.649 GB, free: 2.246 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.01642, allocations: 401.3 kB / 0.6494 GB, free: 1.824 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01642, allocations: 0 / 0.6494 GB, free: 1.824 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.01656, allocations: 55.84 kB / 0.6495 GB, free: 1.77 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.01657, allocations: 11.92 kB / 0.6495 GB, free: 1.758 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.01658, allocations: 3.984 kB / 0.6495 GB, free: 1.754 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01658, allocations: 4 kB / 0.6495 GB, free: 1.75 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01659, allocations: 8.125 kB / 0.6495 GB, free: 1.742 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.01682, allocations: 311.8 kB / 0.6498 GB, free: 1.414 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.01686, allocations: 27.83 kB / 0.6498 GB, free: 1.387 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.01688, allocations: 8 kB / 0.6498 GB, free: 1.379 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.01695, allocations: 3.938 kB / 0.6498 GB, free: 1.375 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.01697, allocations: 19.97 kB / 0.6498 GB, free: 1.355 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.01698, allocations: 0 / 0.6498 GB, free: 1.355 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.01702, allocations: 48.81 kB / 0.6499 GB, free: 1.305 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.01702, allocations: 0 / 0.6499 GB, free: 1.305 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002032/0.01723, allocations: 60 kB / 0.6499 GB, free: 1.246 MB / 0.6043 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.0001237/0.01735, allocations: 88.45 kB / 0.65 GB, free: 1.152 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.01769, allocations: 275 kB / 0.6503 GB, free: 0.8672 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.0177, allocations: 4 kB / 0.6503 GB, free: 0.8633 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 6.283e-05/0.01776, allocations: 61.23 kB / 0.6504 GB, free: 0.8008 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.01796, allocations: 35.97 kB / 0.6504 GB, free: 0.7695 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008899/0.01885, allocations: 0.5236 MB / 0.6509 GB, free: 212 kB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.743e-05/0.01892, allocations: 108.4 kB / 0.651 GB, free: 84 kB / 0.6043 GB Notification: Performance of simCode: alias equations: time 7.412e-05/0.01899, allocations: 29.94 kB / 0.651 GB, free: 56 kB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.01912, allocations: 83.44 kB / 0.6511 GB, free: 15.97 MB / 0.6199 GB Notification: Performance of SimCode: time 1.242e-06/0.01912, allocations: 0 / 0.6511 GB, free: 15.97 MB / 0.6199 GB Notification: Performance of Templates: time 0.0051/0.02422, allocations: 2.97 MB / 0.654 GB, free: 13 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo AixLib_AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/AixLib_AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./AixLib_AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.647995280101895]