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.04114/0.04114, allocations: 9.128 MB / 28.99 MB, free: 0.8086 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.000984/0.000984, allocations: 90.72 kB / 35.33 MB, free: 1.074 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.001794/0.001794, allocations: 164.5 kB / 38.73 MB, free: 2.508 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.1 MB / 219.2 MB, free: 10.1 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.003986/0.003986, allocations: 0.826 MB / 276.5 MB, free: 0.7227 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.745/1.745, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.643e-06/1.643e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.1e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003031/0.003052, allocations: 2.542 MB / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.004691, allocations: 1.261 MB / 0.6416 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.589e-05/0.004787, allocations: 7.938 kB / 0.6416 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.005183, allocations: 87.52 kB / 0.6417 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.00546, allocations: 179 kB / 0.6419 GB, free: 10 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.005728, allocations: 163.5 kB / 0.642 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.006006, allocations: 330.8 kB / 0.6423 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/0.006306, allocations: 182.3 kB / 0.6425 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.006634, allocations: 191.5 kB / 0.6427 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.006883, allocations: 151.6 kB / 0.6428 GB, free: 9 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.006911, allocations: 20 kB / 0.6428 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.007126, allocations: 159.7 kB / 0.643 GB, free: 8.824 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0003496/0.007476, allocations: 111.7 kB / 0.6431 GB, free: 8.715 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.007544, allocations: 91.8 kB / 0.6432 GB, free: 8.625 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.007848, allocations: 295 kB / 0.6435 GB, free: 8.336 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.007851, allocations: 0 / 0.6435 GB, free: 8.336 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.282e-06/0.007852, allocations: 0 / 0.6435 GB, free: 8.336 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.007856, allocations: 4 kB / 0.6435 GB, free: 8.332 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.0005666/0.008423, allocations: 448 kB / 0.6439 GB, free: 7.871 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.008459, allocations: 15.98 kB / 0.6439 GB, free: 7.855 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004961/0.008955, allocations: 124.6 kB / 0.644 GB, free: 7.734 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.009167, allocations: 189.3 kB / 0.6442 GB, free: 7.523 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.009186, allocations: 16.88 kB / 0.6442 GB, free: 7.508 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.009253, allocations: 28.55 kB / 0.6443 GB, free: 7.48 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.009519, allocations: 283.7 kB / 0.6445 GB, free: 7.168 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.00953, allocations: 192 / 0.6445 GB, free: 7.168 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.00955, allocations: 8.125 kB / 0.6445 GB, free: 7.16 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-05/0.009612, allocations: 32.47 kB / 0.6446 GB, free: 7.129 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.009816, allocations: 87.39 kB / 0.6447 GB, free: 7.039 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007737/0.01059, allocations: 0.8495 MB / 0.6455 GB, free: 6.156 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.01077, allocations: 156.1 kB / 0.6456 GB, free: 5.992 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.01081, allocations: 36.84 kB / 0.6457 GB, free: 5.953 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.189e-05/0.01088, allocations: 12 kB / 0.6457 GB, free: 5.941 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.0109, allocations: 38.56 kB / 0.6457 GB, free: 5.895 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.0109, allocations: 0 / 0.6457 GB, free: 5.895 MB / 0.6043 GB Notification: Performance of matching and sorting (n=19): time 0.0005433/0.01145, allocations: 357.1 kB / 0.6461 GB, free: 5.512 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.01147, allocations: 55.34 kB / 0.6461 GB, free: 5.445 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.557e-05/0.01157, allocations: 178.5 kB / 0.6463 GB, free: 5.258 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.01158, allocations: 25.7 kB / 0.6463 GB, free: 5.227 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.01164, allocations: 164.4 kB / 0.6465 GB, free: 5.062 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.01168, allocations: 71.41 kB / 0.6465 GB, free: 4.992 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.01174, allocations: 57.62 kB / 0.6466 GB, free: 4.93 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.01182, allocations: 330.8 kB / 0.6469 GB, free: 4.598 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.01186, allocations: 31.97 kB / 0.6469 GB, free: 4.566 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.01193, allocations: 85.95 kB / 0.647 GB, free: 4.461 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.01205, allocations: 136.5 kB / 0.6471 GB, free: 4.305 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.01206, allocations: 0 / 0.6471 GB, free: 4.305 MB / 0.6043 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002874/0.01234, allocations: 212.9 kB / 0.6473 GB, free: 4.086 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.01236, allocations: 9.094 kB / 0.6474 GB, free: 4.078 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01236, allocations: 0 / 0.6474 GB, free: 4.078 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/0.01268, allocations: 107.7 kB / 0.6475 GB, free: 3.969 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.0128, allocations: 43.91 kB / 0.6475 GB, free: 3.926 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008954/0.0137, allocations: 1.351 MB / 0.6488 GB, free: 2.473 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.01378, allocations: 7.984 kB / 0.6488 GB, free: 2.465 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.01379, allocations: 8 kB / 0.6488 GB, free: 2.457 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 9.838e-05/0.01389, allocations: 128.6 kB / 0.649 GB, free: 2.32 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.01393, allocations: 15.98 kB / 0.649 GB, free: 2.305 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.01419, allocations: 142.9 kB / 0.6491 GB, free: 2.164 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.01419, allocations: 4 kB / 0.6491 GB, free: 2.16 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.0142, allocations: 0 / 0.6491 GB, free: 2.16 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.0142, allocations: 3.984 kB / 0.6491 GB, free: 2.156 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.01472, allocations: 416.1 kB / 0.6495 GB, free: 1.719 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01472, allocations: 0 / 0.6495 GB, free: 1.719 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.01501, allocations: 59.94 kB / 0.6496 GB, free: 1.66 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.01502, allocations: 7.938 kB / 0.6496 GB, free: 1.652 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.01504, allocations: 4 kB / 0.6496 GB, free: 1.648 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.01504, allocations: 4 kB / 0.6496 GB, free: 1.645 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01504, allocations: 4.062 kB / 0.6496 GB, free: 1.641 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.01534, allocations: 311.7 kB / 0.6499 GB, free: 1.312 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.0154, allocations: 35.77 kB / 0.6499 GB, free: 1.277 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.01543, allocations: 8.062 kB / 0.6499 GB, free: 1.27 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.01554, allocations: 4 kB / 0.6499 GB, free: 1.266 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/0.01586, allocations: 15.97 kB / 0.6499 GB, free: 1.25 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.01587, allocations: 4 kB / 0.6499 GB, free: 1.246 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.01593, allocations: 44.81 kB / 0.65 GB, free: 1.199 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01593, allocations: 0 / 0.65 GB, free: 1.199 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003039/0.01623, allocations: 64 kB / 0.6501 GB, free: 1.137 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.0001403/0.01637, allocations: 92.34 kB / 0.6501 GB, free: 1.039 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0004419/0.01681, allocations: 275 kB / 0.6504 GB, free: 0.7539 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.01682, allocations: 7.938 kB / 0.6504 GB, free: 0.7461 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 7.504e-05/0.0169, allocations: 52.77 kB / 0.6505 GB, free: 0.6914 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.01718, allocations: 36.36 kB / 0.6505 GB, free: 0.6562 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.0183, allocations: 0.5428 MB / 0.651 GB, free: 80 kB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.563e-05/0.01839, allocations: 104.5 kB / 0.6511 GB, free: 15.95 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 9.849e-05/0.01849, allocations: 21.95 kB / 0.6511 GB, free: 15.93 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.01863, allocations: 83.34 kB / 0.6512 GB, free: 15.85 MB / 0.6199 GB Notification: Performance of SimCode: time 1.032e-06/0.01863, allocations: 4 kB / 0.6512 GB, free: 15.85 MB / 0.6199 GB Notification: Performance of Templates: time 0.006278/0.02491, allocations: 2.958 MB / 0.6541 GB, free: 12.89 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.465658459812403]