Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.04102/0.04102, allocations: 9.13 MB / 28.99 MB, free: 344 kB / 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.0008543/0.0008543, allocations: 99.14 kB / 35.33 MB, free: 0.9375 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.001037/0.001037, allocations: 164.3 kB / 38.73 MB, free: 2.406 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.038/1.038, 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.004038/0.004038, allocations: 0.8294 MB / 276.5 MB, free: 0.7344 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.653/1.653, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(AixLib.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.646e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003644/0.00367, allocations: 2.709 MB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002265/0.005935, allocations: 1.496 MB / 0.642 GB, free: 9.859 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.006115, allocations: 7.938 kB / 0.642 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.006533, allocations: 103.4 kB / 0.6421 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.006901, allocations: 194.9 kB / 0.6423 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.007428, allocations: 255.2 kB / 0.6425 GB, free: 9.309 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.007847, allocations: 422.6 kB / 0.6429 GB, free: 8.895 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.008117, allocations: 182.2 kB / 0.6431 GB, free: 8.715 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.008405, allocations: 219.5 kB / 0.6433 GB, free: 8.5 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.008679, allocations: 187.5 kB / 0.6435 GB, free: 8.316 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.008712, allocations: 24 kB / 0.6435 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.009008, allocations: 179.6 kB / 0.6437 GB, free: 8.117 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.009121, allocations: 131.6 kB / 0.6438 GB, free: 7.988 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.009208, allocations: 99.81 kB / 0.6439 GB, free: 7.891 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.009599, allocations: 358.8 kB / 0.6443 GB, free: 7.539 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.009603, allocations: 4 kB / 0.6443 GB, free: 7.535 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.82e-07/0.009603, allocations: 0 / 0.6443 GB, free: 7.535 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.009609, allocations: 4 kB / 0.6443 GB, free: 7.531 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006304/0.01024, allocations: 499.3 kB / 0.6447 GB, free: 7.02 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.01027, allocations: 11.98 kB / 0.6447 GB, free: 7.008 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006272/0.0109, allocations: 152.5 kB / 0.6449 GB, free: 6.859 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.01116, allocations: 202 kB / 0.6451 GB, free: 6.633 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.01118, allocations: 20.81 kB / 0.6451 GB, free: 6.613 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.01154, allocations: 36.72 kB / 0.6451 GB, free: 6.578 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.01192, allocations: 374.6 kB / 0.6455 GB, free: 6.156 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.01193, allocations: 8.172 kB / 0.6455 GB, free: 6.148 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.01196, allocations: 11.94 kB / 0.6455 GB, free: 6.137 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-05/0.01204, allocations: 44.47 kB / 0.6456 GB, free: 6.094 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.0122, allocations: 111.3 kB / 0.6457 GB, free: 5.988 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.0134, allocations: 1.292 MB / 0.6469 GB, free: 4.645 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.01357, allocations: 167.9 kB / 0.6471 GB, free: 4.469 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.01363, allocations: 48.83 kB / 0.6471 GB, free: 4.418 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.01364, allocations: 4 kB / 0.6471 GB, free: 4.414 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.01367, allocations: 38.56 kB / 0.6472 GB, free: 4.367 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.01367, allocations: 0 / 0.6472 GB, free: 4.367 MB / 0.6043 GB Notification: Performance of matching and sorting (n=23): time 0.0007493/0.01442, allocations: 437.6 kB / 0.6476 GB, free: 3.906 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.01444, allocations: 55.39 kB / 0.6476 GB, free: 3.84 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.0146, allocations: 218.4 kB / 0.6479 GB, free: 3.613 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.01461, allocations: 29.7 kB / 0.6479 GB, free: 3.578 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.01469, allocations: 184.3 kB / 0.6481 GB, free: 3.395 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.01473, allocations: 95.19 kB / 0.6481 GB, free: 3.301 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.01482, allocations: 73.64 kB / 0.6482 GB, free: 3.223 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.0149, allocations: 330.8 kB / 0.6485 GB, free: 2.891 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.01497, allocations: 43.92 kB / 0.6486 GB, free: 2.844 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.716e-05/0.01506, allocations: 131 kB / 0.6487 GB, free: 2.68 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.01524, allocations: 201.6 kB / 0.6489 GB, free: 2.449 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01524, allocations: 0 / 0.6489 GB, free: 2.449 MB / 0.6043 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004281/0.01567, allocations: 310.9 kB / 0.6492 GB, free: 2.137 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01569, allocations: 4 kB / 0.6492 GB, free: 2.133 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.01569, allocations: 7.938 kB / 0.6492 GB, free: 2.125 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/0.01631, allocations: 179.4 kB / 0.6494 GB, free: 1.945 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.01647, allocations: 59.91 kB / 0.6494 GB, free: 1.887 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.01769, allocations: 1.566 MB / 0.651 GB, free: 228 kB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.01783, allocations: 12 kB / 0.651 GB, free: 216 kB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.01785, allocations: 20.02 kB / 0.651 GB, free: 196 kB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.519e-05/0.01795, allocations: 132.5 kB / 0.6511 GB, free: 52 kB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.01799, allocations: 23.92 kB / 0.6511 GB, free: 28 kB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.01819, allocations: 163.5 kB / 0.6513 GB, free: 15.86 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01819, allocations: 4 kB / 0.6513 GB, free: 15.86 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.01819, allocations: 0 / 0.6513 GB, free: 15.86 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.0182, allocations: 4.094 kB / 0.6513 GB, free: 15.85 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.01861, allocations: 444 kB / 0.6517 GB, free: 15.39 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01862, allocations: 4.062 kB / 0.6517 GB, free: 15.39 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.01889, allocations: 95.84 kB / 0.6518 GB, free: 15.29 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01889, allocations: 0 / 0.6518 GB, free: 15.29 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.01891, allocations: 15.92 kB / 0.6518 GB, free: 15.28 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01891, allocations: 0 / 0.6518 GB, free: 15.28 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.01891, allocations: 4 kB / 0.6518 GB, free: 15.27 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.01917, allocations: 340.1 kB / 0.6522 GB, free: 14.92 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.01922, allocations: 43.78 kB / 0.6522 GB, free: 14.88 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.01925, allocations: 7.984 kB / 0.6522 GB, free: 14.87 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.01934, allocations: 8 kB / 0.6522 GB, free: 14.86 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.01937, allocations: 19.97 kB / 0.6522 GB, free: 14.84 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.01938, allocations: 4 kB / 0.6522 GB, free: 14.84 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 6.21e-05/0.01944, allocations: 73.66 kB / 0.6523 GB, free: 14.76 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5e-08/0.01944, allocations: 0 / 0.6523 GB, free: 14.76 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002395/0.01968, allocations: 88 kB / 0.6524 GB, free: 14.68 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * Single equations (assignments): 24 * 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.0001194/0.0198, allocations: 88.36 kB / 0.6525 GB, free: 14.58 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0003843/0.02018, allocations: 339 kB / 0.6528 GB, free: 14.23 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.02019, allocations: 4 kB / 0.6528 GB, free: 14.23 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 6.628e-05/0.02026, allocations: 70.81 kB / 0.6529 GB, free: 14.16 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.02049, allocations: 61.08 kB / 0.6529 GB, free: 14.1 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.02161, allocations: 0.6446 MB / 0.6536 GB, free: 13.42 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.91e-05/0.02168, allocations: 108.3 kB / 0.6537 GB, free: 13.29 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.02179, allocations: 38.27 kB / 0.6537 GB, free: 13.25 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.02192, allocations: 91.34 kB / 0.6538 GB, free: 13.16 MB / 0.6199 GB Notification: Performance of SimCode: time 5.71e-07/0.02193, allocations: 4 kB / 0.6538 GB, free: 13.16 MB / 0.6199 GB Notification: Performance of Templates: time 0.006022/0.02795, allocations: 4.447 MB / 0.6581 GB, free: 8.711 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5126720438711345]