Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.04565/0.04565, allocations: 9.13 MB / 28.99 MB, free: 340 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.001304/0.001304, allocations: 95.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.00119/0.00119, allocations: 168.4 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.006/1.006, allocations: 177.2 MB / 219.2 MB, free: 10.09 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.006169/0.006169, allocations: 0.8262 MB / 276.5 MB, free: 0.7188 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.681/1.681, 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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(AixLib.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.046e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003215/0.003236, allocations: 3.075 MB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.004688, allocations: 1.15 MB / 0.642 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.00483, allocations: 19.81 kB / 0.642 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0004411/0.005271, allocations: 123 kB / 0.6421 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0005938/0.005865, allocations: 258.4 kB / 0.6424 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.006113, allocations: 203.6 kB / 0.6425 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.006543, allocations: 0.6322 MB / 0.6432 GB, free: 8.652 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.006823, allocations: 246.5 kB / 0.6434 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.007163, allocations: 343.1 kB / 0.6437 GB, free: 8.074 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.007415, allocations: 211.4 kB / 0.6439 GB, free: 7.867 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.007449, allocations: 24 kB / 0.644 GB, free: 7.844 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.007566, allocations: 95.78 kB / 0.644 GB, free: 7.75 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 8.879e-05/0.007655, allocations: 127.6 kB / 0.6442 GB, free: 7.625 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 9.84e-05/0.007754, allocations: 143.6 kB / 0.6443 GB, free: 7.484 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.008059, allocations: 362.6 kB / 0.6446 GB, free: 7.129 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.008061, allocations: 0 / 0.6446 GB, free: 7.129 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.82e-07/0.008062, allocations: 0 / 0.6446 GB, free: 7.129 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.008068, allocations: 0 / 0.6446 GB, free: 7.129 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0006164/0.008684, allocations: 0.6122 MB / 0.6452 GB, free: 6.488 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.00872, allocations: 15.98 kB / 0.6453 GB, free: 6.473 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/0.009117, allocations: 128.7 kB / 0.6454 GB, free: 6.348 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.009459, allocations: 341.3 kB / 0.6457 GB, free: 5.992 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.009477, allocations: 21.03 kB / 0.6457 GB, free: 5.973 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.009519, allocations: 32.36 kB / 0.6458 GB, free: 5.941 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.009884, allocations: 489.8 kB / 0.6462 GB, free: 5.363 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.009901, allocations: 11.94 kB / 0.6462 GB, free: 5.352 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.009922, allocations: 15.94 kB / 0.6463 GB, free: 5.336 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/0.009966, allocations: 40.62 kB / 0.6463 GB, free: 5.297 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.01012, allocations: 148.2 kB / 0.6464 GB, free: 5.152 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.01154, allocations: 2.361 MB / 0.6487 GB, free: 2.688 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.01181, allocations: 205.2 kB / 0.6489 GB, free: 2.477 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.01188, allocations: 52.83 kB / 0.649 GB, free: 2.422 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.01189, allocations: 4 kB / 0.649 GB, free: 2.418 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.01192, allocations: 38.56 kB / 0.649 GB, free: 2.371 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=26): time 1.532e-06/0.01192, allocations: 0 / 0.649 GB, free: 2.371 MB / 0.6043 GB Notification: Performance of matching and sorting (n=27): time 0.00106/0.01298, allocations: 371.4 kB / 0.6494 GB, free: 1.988 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.01301, allocations: 55.64 kB / 0.6494 GB, free: 1.922 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.01319, allocations: 311.2 kB / 0.6497 GB, free: 1.609 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.01321, allocations: 29.7 kB / 0.6498 GB, free: 1.574 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01331, allocations: 228.6 kB / 0.65 GB, free: 1.344 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.01337, allocations: 103.1 kB / 0.6501 GB, free: 1.242 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/0.01345, allocations: 78.11 kB / 0.6501 GB, free: 1.16 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.01355, allocations: 354.7 kB / 0.6505 GB, free: 0.8047 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.436e-05/0.0136, allocations: 40.98 kB / 0.6505 GB, free: 0.7617 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.01373, allocations: 183.2 kB / 0.6507 GB, free: 0.5195 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.01396, allocations: 285.4 kB / 0.651 GB, free: 180 kB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01396, allocations: 0 / 0.651 GB, free: 180 kB / 0.6043 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003817/0.01434, allocations: 312 kB / 0.6513 GB, free: 15.85 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.01436, allocations: 4 kB / 0.6513 GB, free: 15.85 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.01437, allocations: 8.625 kB / 0.6513 GB, free: 15.84 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.01454, allocations: 70.95 kB / 0.6514 GB, free: 15.76 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.01471, allocations: 79.89 kB / 0.6514 GB, free: 15.68 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.01472, allocations: 11.94 kB / 0.6514 GB, free: 15.67 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.01482, allocations: 12 kB / 0.6514 GB, free: 15.66 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.01484, allocations: 12 kB / 0.6515 GB, free: 15.64 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.01495, allocations: 136.6 kB / 0.6516 GB, free: 15.5 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.01499, allocations: 35.91 kB / 0.6516 GB, free: 15.46 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.01529, allocations: 240.6 kB / 0.6519 GB, free: 15.21 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01529, allocations: 4 kB / 0.6519 GB, free: 15.21 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.0153, allocations: 7.875 kB / 0.6519 GB, free: 15.2 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.0153, allocations: 0 / 0.6519 GB, free: 15.2 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.01582, allocations: 0.5277 MB / 0.6524 GB, free: 14.62 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01582, allocations: 0 / 0.6524 GB, free: 14.62 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.01593, allocations: 43.97 kB / 0.6524 GB, free: 14.58 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/0.01604, allocations: 63.05 kB / 0.6525 GB, free: 14.51 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.01606, allocations: 8 kB / 0.6525 GB, free: 14.5 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.01606, allocations: 0 / 0.6525 GB, free: 14.5 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01606, allocations: 4 kB / 0.6525 GB, free: 14.5 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.01634, allocations: 368.1 kB / 0.6528 GB, free: 14.1 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.01641, allocations: 51.69 kB / 0.6529 GB, free: 14.05 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.01643, allocations: 8 kB / 0.6529 GB, free: 14.04 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.01652, allocations: 11.98 kB / 0.6529 GB, free: 14.03 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.01656, allocations: 19.95 kB / 0.6529 GB, free: 14.01 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.01657, allocations: 15.92 kB / 0.6529 GB, free: 13.99 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 8.153e-05/0.01666, allocations: 124.7 kB / 0.6531 GB, free: 13.87 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5e-08/0.01666, allocations: 0 / 0.6531 GB, free: 13.87 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002401/0.0169, allocations: 88 kB / 0.6532 GB, free: 13.79 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001275/0.01702, allocations: 80.42 kB / 0.6532 GB, free: 13.7 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002956/0.01732, allocations: 206.5 kB / 0.6534 GB, free: 13.48 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.01733, allocations: 4 kB / 0.6534 GB, free: 13.48 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.01749, allocations: 112.9 kB / 0.6535 GB, free: 13.36 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.0179, allocations: 137.8 kB / 0.6537 GB, free: 13.23 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008712/0.01877, allocations: 0.6696 MB / 0.6543 GB, free: 12.52 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.066e-05/0.01884, allocations: 121.6 kB / 0.6544 GB, free: 12.38 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.01896, allocations: 39.34 kB / 0.6545 GB, free: 12.34 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.01915, allocations: 141.3 kB / 0.6546 GB, free: 12.2 MB / 0.6199 GB Notification: Performance of SimCode: time 6.71e-07/0.01915, allocations: 0 / 0.6546 GB, free: 12.2 MB / 0.6199 GB Notification: Performance of Templates: time 0.007399/0.02655, allocations: 5.111 MB / 0.6596 GB, free: 7.086 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.603970699943602]