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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009157/0.0009155, allocations: 91.38 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05813/0.05813, allocations: 14.04 MB / 323.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.846e-05/1.85e-05, allocations: 0 / 382 MB, free: 72.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 51.12 MB / 433.1 MB, free: 21.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.5429, allocations: 75.89 MB / 0.497 GB, free: 12.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.5432, allocations: 66.84 kB / 0.4971 GB, free: 12.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001499/0.5447, allocations: 0.53 MB / 0.4976 GB, free: 12.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5447, allocations: 0 / 0.4976 GB, free: 12.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.5447, allocations: 1 kB / 0.4976 GB, free: 12.08 MB / 330.7 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.0002546/0.545, allocations: 342.5 kB / 0.498 GB, free: 11.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.5451, allocations: 12 kB / 0.498 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.5451, allocations: 2.094 kB / 0.498 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.613e-05/0.5452, allocations: 164.3 kB / 0.4981 GB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.5452, allocations: 0.7188 kB / 0.4981 GB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.5452, allocations: 5.125 kB / 0.4981 GB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.007e-05/0.5453, allocations: 11.36 kB / 0.4981 GB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.859e-05/0.5454, allocations: 40.73 kB / 0.4982 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.5454, allocations: 0 / 0.4982 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5454, allocations: 1.062 kB / 0.4982 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.5454, allocations: 0 / 0.4982 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.5457, allocations: 224.3 kB / 0.4984 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.931e-05/0.5458, allocations: 29.03 kB / 0.4984 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.5458, allocations: 19.77 kB / 0.4984 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.5459, allocations: 0 / 0.4984 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.5459, allocations: 40.09 kB / 0.4985 GB, free: 11.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.724e-06/0.5459, allocations: 0 / 0.4985 GB, free: 11.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002/0.5461, allocations: 45.61 kB / 0.4985 GB, free: 11.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.5462, allocations: 77.11 kB / 0.4986 GB, free: 11.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.146e-05/0.5462, allocations: 88.94 kB / 0.4987 GB, free: 10.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.5462, allocations: 29.73 kB / 0.4987 GB, free: 10.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.5462, allocations: 88.67 kB / 0.4988 GB, free: 10.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.5463, allocations: 7.781 kB / 0.4988 GB, free: 10.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.5463, allocations: 0 / 0.4988 GB, free: 10.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.5463, allocations: 312.4 kB / 0.4991 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.5464, allocations: 7.438 kB / 0.4991 GB, free: 10.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.562e-05/0.5464, allocations: 7.188 kB / 0.4991 GB, free: 10.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.694e-05/0.5464, allocations: 5.219 kB / 0.4991 GB, free: 10.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5464, allocations: 64 / 0.4991 GB, free: 10.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.488e-05/0.5465, allocations: 46.39 kB / 0.4992 GB, free: 10.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.5466, allocations: 42.39 kB / 0.4992 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5466, allocations: 0 / 0.4992 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5466, allocations: 0 / 0.4992 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.611e-05/0.5466, allocations: 3.812 kB / 0.4992 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5466, allocations: 1.359 kB / 0.4992 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.5467, allocations: 3.906 kB / 0.4992 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.5467, allocations: 6.062 kB / 0.4992 GB, free: 10.43 MB / 330.7 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 () * 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 7.232e-05/0.5468, allocations: 135.8 kB / 0.4994 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.743e-05/0.5469, allocations: 52.25 kB / 0.4994 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.5469, allocations: 11.75 kB / 0.4994 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.547, allocations: 7.703 kB / 0.4994 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.547, allocations: 0 / 0.4994 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.547, allocations: 0 / 0.4994 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.547, allocations: 0 / 0.4994 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.5471, allocations: 142.9 kB / 0.4996 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5471, allocations: 0 / 0.4996 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-05/0.5471, allocations: 3.656 kB / 0.4996 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5472, allocations: 4.031 kB / 0.4996 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.5472, allocations: 4.578 kB / 0.4996 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5472, allocations: 1.797 kB / 0.4996 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5472, allocations: 1.406 kB / 0.4996 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.5473, allocations: 145.2 kB / 0.4997 GB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.5474, allocations: 77.11 kB / 0.4998 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.5474, allocations: 5.922 kB / 0.4998 GB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.5475, allocations: 5.484 kB / 0.4998 GB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.5475, allocations: 9.203 kB / 0.4998 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.5476, allocations: 0 / 0.4998 GB, free: 9.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.922e-05/0.5476, allocations: 75.28 kB / 0.4999 GB, free: 9.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5476, allocations: 0 / 0.4999 GB, free: 9.766 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.5478, allocations: 7.625 kB / 0.4999 GB, free: 9.766 MB / 330.7 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 () * 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.00034/0.5482, allocations: 0.6805 MB / 0.5005 GB, free: 9.109 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.5483, allocations: 78.31 kB / 0.5006 GB, free: 9.039 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5483, allocations: 0 / 0.5006 GB, free: 9.039 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.5484, allocations: 68.08 kB / 0.5007 GB, free: 8.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.5485, allocations: 3.953 kB / 0.5007 GB, free: 8.973 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.5489, allocations: 95.16 kB / 0.5008 GB, free: 8.871 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.549, allocations: 0.6752 MB / 0.5014 GB, free: 8.176 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.428e-05/0.5491, allocations: 4.688 kB / 0.5014 GB, free: 8.172 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.5491, allocations: 7.438 kB / 0.5015 GB, free: 8.164 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5491, allocations: 0 / 0.5015 GB, free: 8.164 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.5699, allocations: 0.7899 MB / 0.5022 GB, free: 8.07 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.5702, allocations: 159.2 kB / 0.5024 GB, free: 7.883 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.172, allocations: 3.938 kB / 0.5024 GB, free: 7.879 MB / 330.7 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)