Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ElecSys_PwrFreq_control.BO_rigid_Islanded_generator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.ElecSys_PwrFreq_control.BO_rigid_Islanded_generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_PwrFreq_control.BO_rigid_Islanded_generator") translateModel(AES.Coursework.ElecSys_PwrFreq_control.BO_rigid_Islanded_generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_PwrFreq_control.BO_rigid_Islanded_generator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07628/0.07628, allocations: 19.39 MB / 34.65 MB, free: 204 kB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008969/0.0008969, allocations: 172.9 kB / 40.28 MB, free: 6.539 MB / 33.03 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.7 MB / 271.5 MB, free: 3.219 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007626/0.0007623, allocations: 95.75 kB / 327.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003344, allocations: 8 kB / 395.4 MB, free: 47.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09438/0.09474, allocations: 55.2 MB / 450.6 MB, free: 8.645 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_PwrFreq_control.BO_rigid_Islanded_generator): time 0.001612/0.09643, allocations: 0.6902 MB / 451.3 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.09817, allocations: 1.186 MB / 452.4 MB, free: 6.754 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.09831, allocations: 4 kB / 452.5 MB, free: 6.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.09868, allocations: 31.83 kB / 452.5 MB, free: 6.719 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.09889, allocations: 47.72 kB / 452.5 MB, free: 6.672 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.09912, allocations: 75.89 kB / 452.6 MB, free: 6.598 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.09947, allocations: 203.6 kB / 452.8 MB, free: 6.398 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.0996, allocations: 33.47 kB / 452.8 MB, free: 6.363 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.09976, allocations: 71.69 kB / 452.9 MB, free: 6.293 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.09995, allocations: 79.66 kB / 453 MB, free: 6.215 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.1, allocations: 4 kB / 453 MB, free: 6.211 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.462e-05/0.1, allocations: 8 kB / 453 MB, free: 6.203 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.12e-05/0.1001, allocations: 35.83 kB / 453 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.498e-05/0.1002, allocations: 81.3 kB / 453.1 MB, free: 6.082 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1004, allocations: 111.6 kB / 453.2 MB, free: 5.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1004, allocations: 0 / 453.2 MB, free: 5.973 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1004, allocations: 4 kB / 453.2 MB, free: 5.969 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1004, allocations: 0 / 453.2 MB, free: 5.969 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001018/0.1014, allocations: 0.491 MB / 453.7 MB, free: 5.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1015, allocations: 9.156 kB / 453.7 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.1015, allocations: 16.75 kB / 453.7 MB, free: 5.406 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.1021, allocations: 302 kB / 454 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1021, allocations: 384 / 454 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.1021, allocations: 12.38 kB / 454 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.1024, allocations: 124.5 kB / 454.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.1024, allocations: 0 / 454.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1024, allocations: 7.938 kB / 454.2 MB, free: 4.914 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1024, allocations: 4 kB / 454.2 MB, free: 4.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.1026, allocations: 83.94 kB / 454.3 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007593/0.1034, allocations: 0.5866 MB / 454.8 MB, free: 4.184 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.1037, allocations: 142.4 kB / 455 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.924e-05/0.1039, allocations: 52.95 kB / 455 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.1039, allocations: 8 kB / 455 MB, free: 3.973 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1039, allocations: 30.56 kB / 455.1 MB, free: 3.934 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1039, allocations: 0 / 455.1 MB, free: 3.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003486/0.1043, allocations: 165.4 kB / 455.2 MB, free: 3.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.1043, allocations: 51.41 kB / 455.3 MB, free: 3.703 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.1047, allocations: 259.7 kB / 455.5 MB, free: 3.441 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1048, allocations: 29.7 kB / 455.6 MB, free: 3.406 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.1048, allocations: 112.2 kB / 455.7 MB, free: 3.293 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.1049, allocations: 43.39 kB / 455.7 MB, free: 3.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.1049, allocations: 0 / 455.7 MB, free: 3.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.105, allocations: 326.8 kB / 456 MB, free: 2.922 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.1051, allocations: 39.97 kB / 456.1 MB, free: 2.883 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.999e-05/0.1052, allocations: 62.55 kB / 456.1 MB, free: 2.812 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007672/0.106, allocations: 250.5 kB / 456.4 MB, free: 2.559 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.106, allocations: 0 / 456.4 MB, free: 2.559 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002599/0.1062, allocations: 165.4 kB / 456.5 MB, free: 2.391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1063, allocations: 4 kB / 456.5 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1063, allocations: 4 kB / 456.6 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1063, allocations: 4.062 kB / 456.6 MB, free: 2.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1064, allocations: 27.92 kB / 456.6 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1064, allocations: 0 / 456.6 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.1066, allocations: 35.81 kB / 456.6 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1067, allocations: 4 kB / 456.6 MB, free: 2.312 MB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: Cps.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] g.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (N.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001563/0.1068, allocations: 133.8 kB / 456.8 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.1069, allocations: 11.91 kB / 456.8 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.1069, allocations: 29.33 kB / 456.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1069, allocations: 4 kB / 456.8 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1069, allocations: 3.984 kB / 456.8 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1069, allocations: 3.938 kB / 456.8 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1072, allocations: 237.4 kB / 457 MB, free: 1.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.1072, allocations: 4 kB / 457 MB, free: 1.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.1073, allocations: 15.98 kB / 457.1 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1073, allocations: 0 / 457.1 MB, free: 1.824 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.1074, allocations: 4 kB / 457.1 MB, free: 1.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1074, allocations: 8 kB / 457.1 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1074, allocations: 3.984 kB / 457.1 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.1077, allocations: 283.5 kB / 457.4 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.1078, allocations: 92.95 kB / 457.4 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1078, allocations: 4 kB / 457.4 MB, free: 1.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.108, allocations: 27.97 kB / 457.5 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.1081, allocations: 11.92 kB / 457.5 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1081, allocations: 4 kB / 457.5 MB, free: 1.359 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003606/0.1085, allocations: 196.2 kB / 457.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1085, allocations: 0 / 457.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002256/0.1087, allocations: 31.94 kB / 457.7 MB, free: 1.137 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (N.y,Cps.x_scaled[1],g.x_scaled[1]) * 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 (10): * Single equations (assignments): 10 * 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.0001179/0.1088, allocations: 115.2 kB / 457.8 MB, free: 1.016 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.1091, allocations: 99.89 kB / 457.9 MB, free: 0.918 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1091, allocations: 0 / 457.9 MB, free: 0.918 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.837e-05/0.1092, allocations: 47.97 kB / 458 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.1095, allocations: 23.98 kB / 458 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000634/0.1101, allocations: 384.3 kB / 458.4 MB, free: 452 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1105, allocations: 0.7359 MB / 459.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.812e-05/0.1106, allocations: 25.06 kB / 459.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.1106, allocations: 15.44 kB / 459.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of SimCode: time 3e-07/0.1106, allocations: 4 kB / 459.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of Templates: time 0.003527/0.1141, allocations: 1.192 MB / 460.3 MB, free: 14.45 MB / 330.7 MB make -j1 -f AES_AES.Coursework.ElecSys_PwrFreq_control.BO_rigid_Islanded_generator.makefile (rm -f AES_AES.Coursework.ElecSys_PwrFreq_control.BO_rigid_Islanded_generator.pipe ; mkfifo AES_AES.Coursework.ElecSys_PwrFreq_control.BO_rigid_Islanded_generator.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_PwrFreq_control.BO_rigid_Islanded_generator.pipe >> ../files/AES_AES.Coursework.ElecSys_PwrFreq_control.BO_rigid_Islanded_generator.sim & ./AES_AES.Coursework.ElecSys_PwrFreq_control.BO_rigid_Islanded_generator -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ElecSys_PwrFreq_control.BO_rigid_Islanded_generator.pipe 2>&1)