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.04185/0.04185, allocations: 9.131 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.0008691/0.0008691, allocations: 94.41 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.001066/0.001066, allocations: 164.2 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 0.9988/0.9988, 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.004696/0.004696, allocations: 0.8259 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.692/1.692, allocations: 274.9 MB / 0.5419 GB, free: 0.5938 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.443e-06/1.443e-06, allocations: 3.938 kB / 0.6378 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.404e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006989/0.007013, allocations: 2.658 MB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.005575/0.01259, allocations: 1.496 MB / 0.6419 GB, free: 9.938 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.01276, allocations: 11.94 kB / 0.6419 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0004814/0.01324, allocations: 99.38 kB / 0.642 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.01671, allocations: 206.8 kB / 0.6422 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/0.01732, allocations: 251.3 kB / 0.6424 GB, free: 9.379 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0004783/0.0178, allocations: 426.6 kB / 0.6429 GB, free: 8.961 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.01809, allocations: 182.2 kB / 0.643 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.01841, allocations: 231.4 kB / 0.6432 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.01873, allocations: 179.5 kB / 0.6434 GB, free: 8.379 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.01877, allocations: 24 kB / 0.6434 GB, free: 8.355 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.01905, allocations: 171.5 kB / 0.6436 GB, free: 8.188 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.01918, allocations: 127.7 kB / 0.6437 GB, free: 8.062 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.01929, allocations: 111.7 kB / 0.6438 GB, free: 7.953 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.003495/0.02278, allocations: 346.9 kB / 0.6442 GB, free: 7.613 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.02279, allocations: 4 kB / 0.6442 GB, free: 7.609 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.292e-06/0.02279, allocations: 4 kB / 0.6442 GB, free: 7.605 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.0228, allocations: 0 / 0.6442 GB, free: 7.605 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.0007182/0.02351, allocations: 0.4915 MB / 0.6447 GB, free: 7.09 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.02355, allocations: 11.98 kB / 0.6447 GB, free: 7.078 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007185/0.02427, allocations: 156.5 kB / 0.6448 GB, free: 6.926 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.02455, allocations: 202 kB / 0.645 GB, free: 6.699 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.02457, allocations: 20.88 kB / 0.645 GB, free: 6.68 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.855e-05/0.02467, allocations: 36.67 kB / 0.6451 GB, free: 6.645 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006599/0.02533, allocations: 374.6 kB / 0.6454 GB, free: 6.219 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.02535, allocations: 8.172 kB / 0.6454 GB, free: 6.211 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.02538, allocations: 11.94 kB / 0.6454 GB, free: 6.199 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003117/0.02849, allocations: 44.47 kB / 0.6455 GB, free: 6.156 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.02871, allocations: 107.3 kB / 0.6456 GB, free: 6.055 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.02991, allocations: 1.292 MB / 0.6468 GB, free: 4.711 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.03009, allocations: 172 kB / 0.647 GB, free: 4.531 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.03014, allocations: 48.83 kB / 0.6471 GB, free: 4.48 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.03016, allocations: 4 kB / 0.6471 GB, free: 4.477 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.03018, allocations: 34.56 kB / 0.6471 GB, free: 4.434 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=22): time 1.844e-06/0.03018, allocations: 0 / 0.6471 GB, free: 4.434 MB / 0.6043 GB Notification: Performance of matching and sorting (n=23): time 0.0007621/0.03094, allocations: 446.1 kB / 0.6475 GB, free: 3.965 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.03097, allocations: 51.41 kB / 0.6476 GB, free: 3.902 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.03111, allocations: 214.4 kB / 0.6478 GB, free: 3.68 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.03113, allocations: 29.7 kB / 0.6478 GB, free: 3.645 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.0312, allocations: 188.2 kB / 0.648 GB, free: 3.457 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.03125, allocations: 91.25 kB / 0.6481 GB, free: 3.367 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.03133, allocations: 69.67 kB / 0.6481 GB, free: 3.293 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.03141, allocations: 334.8 kB / 0.6484 GB, free: 2.957 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.265e-05/0.03147, allocations: 39.94 kB / 0.6485 GB, free: 2.918 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.782e-05/0.03157, allocations: 135 kB / 0.6486 GB, free: 2.746 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.03175, allocations: 205.6 kB / 0.6488 GB, free: 2.512 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.03175, allocations: 0 / 0.6488 GB, free: 2.512 MB / 0.6043 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004159/0.03216, allocations: 302.9 kB / 0.6491 GB, free: 2.207 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.03218, allocations: 4 kB / 0.6491 GB, free: 2.203 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.03219, allocations: 11.88 kB / 0.6491 GB, free: 2.191 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000515/0.0327, allocations: 179.5 kB / 0.6493 GB, free: 2.012 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.03285, allocations: 51.91 kB / 0.6493 GB, free: 1.961 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.03406, allocations: 1.566 MB / 0.6509 GB, free: 304 kB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.03421, allocations: 12 kB / 0.6509 GB, free: 292 kB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.03422, allocations: 20.02 kB / 0.6509 GB, free: 272 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 0.0001017/0.03433, allocations: 132.5 kB / 0.651 GB, free: 128 kB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.03437, allocations: 27.92 kB / 0.651 GB, free: 100 kB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.03457, allocations: 163.4 kB / 0.6512 GB, free: 15.93 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.03457, allocations: 4 kB / 0.6512 GB, free: 15.93 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.03457, allocations: 0 / 0.6512 GB, free: 15.93 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.03458, allocations: 0 / 0.6512 GB, free: 15.93 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.03501, allocations: 444.1 kB / 0.6516 GB, free: 15.46 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.03501, allocations: 4.062 kB / 0.6516 GB, free: 15.46 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.0352, allocations: 67.89 kB / 0.6517 GB, free: 15.39 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.03521, allocations: 0 / 0.6517 GB, free: 15.39 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.03522, allocations: 11.94 kB / 0.6517 GB, free: 15.38 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.03523, allocations: 4 kB / 0.6517 GB, free: 15.38 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.03523, allocations: 0 / 0.6517 GB, free: 15.38 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.03549, allocations: 344.1 kB / 0.652 GB, free: 15.02 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.03555, allocations: 43.77 kB / 0.6521 GB, free: 14.98 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.03558, allocations: 8 kB / 0.6521 GB, free: 14.97 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/0.03567, allocations: 4 kB / 0.6521 GB, free: 14.96 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.0357, allocations: 19.97 kB / 0.6521 GB, free: 14.95 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.03571, allocations: 4 kB / 0.6521 GB, free: 14.94 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 6.708e-05/0.03578, allocations: 65.67 kB / 0.6522 GB, free: 14.88 MB / 0.6199 GB Notification: Performance of sort global known variables: time 4e-08/0.03578, allocations: 0 / 0.6522 GB, free: 14.88 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0005254/0.0363, allocations: 88 kB / 0.6523 GB, free: 14.79 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.0001334/0.03643, allocations: 96.33 kB / 0.6524 GB, free: 14.69 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0004328/0.03687, allocations: 335 kB / 0.6527 GB, free: 14.34 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.03688, allocations: 8 kB / 0.6527 GB, free: 14.34 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.03695, allocations: 60.7 kB / 0.6527 GB, free: 14.27 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.03719, allocations: 73.58 kB / 0.6528 GB, free: 14.2 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.0382, allocations: 0.6381 MB / 0.6534 GB, free: 13.53 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.18e-05/0.03829, allocations: 116.3 kB / 0.6535 GB, free: 13.39 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.03839, allocations: 30.28 kB / 0.6536 GB, free: 13.36 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.03852, allocations: 91.34 kB / 0.6537 GB, free: 13.27 MB / 0.6199 GB Notification: Performance of SimCode: time 1.072e-06/0.03853, allocations: 0 / 0.6537 GB, free: 13.27 MB / 0.6199 GB Notification: Performance of Templates: time 0.00597/0.0445, allocations: 4.458 MB / 0.658 GB, free: 8.816 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 -lv LOG_STATS > AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8065667962655425]