Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009731/0.000973, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05985/0.05985, allocations: 14.17 MB / 284.5 MB, free: 7.125 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006048/0.0006049, allocations: 12 kB / 348.2 MB, free: 17.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1311, allocations: 51.12 MB / 399.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001299/0.1324, allocations: 439.2 kB / 399.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001821/0.1326, allocations: 15.94 kB / 399.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.1327, allocations: 4 kB / 399.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.1327, allocations: 0 / 399.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.059e-05/0.1328, allocations: 0 / 399.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.133, allocations: 7.984 kB / 399.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.036e-05/0.1331, allocations: 11.98 kB / 399.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1332, allocations: 3.984 kB / 399.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.1333, allocations: 8 kB / 399.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/0.1333, allocations: 7.938 kB / 399.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1334, allocations: 0 / 399.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.1334, allocations: 0 / 399.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.1334, allocations: 3.984 kB / 399.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.1335, allocations: 33.7 kB / 399.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.876e-05/0.1335, allocations: 7.984 kB / 399.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1335, allocations: 0 / 399.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1335, allocations: 0 / 399.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1336, allocations: 0 / 399.9 MB, free: 14.11 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005896/0.1341, allocations: 349.1 kB / 400.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.996e-05/0.1342, allocations: 8.031 kB / 400.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.434e-05/0.1343, allocations: 30.56 kB / 400.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.1344, allocations: 4 kB / 400.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.1345, allocations: 159.1 kB / 400.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.1346, allocations: 0 / 400.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1346, allocations: 11.89 kB / 400.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.1348, allocations: 49.55 kB / 400.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1348, allocations: 0 / 400.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1348, allocations: 4 kB / 400.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1349, allocations: 4 kB / 400.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.721e-05/0.1349, allocations: 11.98 kB / 400.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007858/0.1357, allocations: 256.8 kB / 400.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.215e-05/0.1358, allocations: 18.58 kB / 400.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1358, allocations: 3.938 kB / 400.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.1359, allocations: 46.62 kB / 400.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.1359, allocations: 0 / 400.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003206/0.1362, allocations: 79.39 kB / 400.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.1363, allocations: 81.11 kB / 401 MB, free: 12.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.679e-05/0.1364, allocations: 89.86 kB / 401.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1364, allocations: 25.7 kB / 401.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.1365, allocations: 88.12 kB / 401.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.1365, allocations: 3.906 kB / 401.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.1366, allocations: 8.125 kB / 401.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.1368, allocations: 310.8 kB / 401.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.1368, allocations: 8 kB / 401.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/0.1369, allocations: 11.92 kB / 401.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.703e-05/0.137, allocations: 33.7 kB / 401.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.137, allocations: 0 / 401.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001502/0.1371, allocations: 87.34 kB / 401.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-05/0.1372, allocations: 29.7 kB / 401.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1372, allocations: 96 / 401.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1373, allocations: 8 kB / 401.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.354e-05/0.1373, allocations: 0 / 401.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1373, allocations: 0 / 401.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.627e-05/0.1374, allocations: 4 kB / 401.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.1374, allocations: 0 / 401.7 MB, free: 12.06 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.1376, allocations: 143.5 kB / 401.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.1376, allocations: 3.953 kB / 401.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.1377, allocations: 3.125 kB / 401.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1377, allocations: 8 kB / 401.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.1377, allocations: 0 / 401.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1377, allocations: 3.938 kB / 401.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.138, allocations: 153.7 kB / 402 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.138, allocations: 7.984 kB / 402 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.138, allocations: 3.938 kB / 402 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.138, allocations: 3.953 kB / 402 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1381, allocations: 0 / 402 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1381, allocations: 0 / 402 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1381, allocations: 11.92 kB / 402 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.1383, allocations: 173.2 kB / 402.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.1385, allocations: 81.11 kB / 402.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.1385, allocations: 7.953 kB / 402.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.675e-05/0.1386, allocations: 3.984 kB / 402.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.1387, allocations: 0 / 402.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1387, allocations: 4 kB / 402.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.778e-05/0.1388, allocations: 75.28 kB / 402.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1388, allocations: 0 / 402.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.1391, allocations: 8.031 kB / 402.4 MB, free: 11.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/0.1403, allocations: 0.7063 MB / 403.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1405, allocations: 79.39 kB / 403.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1405, allocations: 0 / 403.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.1406, allocations: 71.48 kB / 403.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.1408, allocations: 11.89 kB / 403.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.1413, allocations: 128.3 kB / 403.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/0.1419, allocations: 0.677 MB / 404 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.175e-05/0.1419, allocations: 0 / 404 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.142, allocations: 7.438 kB / 404 MB, free: 9.469 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.142, allocations: 3.938 kB / 404 MB, free: 9.465 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.1592, allocations: 1.06 MB / 405.1 MB, free: 8.516 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002999/0.1596, allocations: 202.7 kB / 405.3 MB, free: 8.277 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/1.906, allocations: 4 kB / 405.3 MB, free: 8.273 MB / 302.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) Environment - environmentSimulation: