Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.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.OneBusImpedanceVariableVoltageOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad",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.0007797/0.0007797, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000821/0.000821, allocations: 168.7 kB / 15.95 MB, free: 204 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.461/1.461, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06011/0.06011, allocations: 14.16 MB / 284.6 MB, free: 7.121 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.0005456/0.0005457, allocations: 16 kB / 346.3 MB, free: 19.76 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0963/0.09686, allocations: 51.11 MB / 397.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.004493/0.1014, allocations: 3.852 MB / 401.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003528/0.1049, allocations: 2.269 MB / 403.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004756/0.1055, allocations: 11.94 kB / 403.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007183/0.1062, allocations: 191.1 kB / 403.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.1087, allocations: 0.8981 MB / 404.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.1093, allocations: 207.5 kB / 404.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.1108, allocations: 0.9221 MB / 405.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.1111, allocations: 61.94 kB / 405.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005289/0.1116, allocations: 262.8 kB / 406 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004825/0.1121, allocations: 250.9 kB / 406.3 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.367e-05/0.1122, allocations: 15.94 kB / 406.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007005/0.1129, allocations: 227.8 kB / 406.5 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.113, allocations: 59.64 kB / 406.6 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.1132, allocations: 117.5 kB / 406.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007312/0.1139, allocations: 0.5496 MB / 407.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1139, allocations: 0 / 407.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.114, allocations: 0 / 407.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.114, allocations: 4 kB / 407.3 MB, free: 6.699 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00217/0.1162, allocations: 0.9002 MB / 408.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1162, allocations: 16.02 kB / 408.2 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.1163, allocations: 70.52 kB / 408.2 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.1167, allocations: 75.33 kB / 408.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.1173, allocations: 407.5 kB / 408.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.1174, allocations: 24.95 kB / 408.7 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.1174, allocations: 40 kB / 408.8 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006272/0.118, allocations: 379 kB / 409.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1181, allocations: 0 / 409.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.1181, allocations: 20 kB / 409.2 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.1181, allocations: 8 kB / 409.2 MB, free: 4.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005795/0.1187, allocations: 363.7 kB / 409.5 MB, free: 4.309 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.1208, allocations: 2.197 MB / 411.7 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008952/0.1217, allocations: 0.5539 MB / 412.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.1219, allocations: 152.8 kB / 412.4 MB, free: 1.066 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.122, allocations: 4.109 kB / 412.4 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.122, allocations: 46.5 kB / 412.5 MB, free: 1.008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.794e-06/0.122, allocations: 0 / 412.5 MB, free: 1.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.002138/0.1242, allocations: 0.8311 MB / 413.3 MB, free: 152 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.1242, allocations: 59.41 kB / 413.4 MB, free: 80 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.1246, allocations: 309.7 kB / 413.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1246, allocations: 33.7 kB / 413.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1247, allocations: 200.7 kB / 413.9 MB, free: 15.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.1249, allocations: 138 kB / 414 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.1249, allocations: 8 kB / 414 MB, free: 15.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.125, allocations: 346.8 kB / 414.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.1252, allocations: 99.95 kB / 414.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.1254, allocations: 138.8 kB / 414.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.1257, allocations: 132.4 kB / 414.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1257, allocations: 0 / 414.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009688/0.1267, allocations: 481.2 kB / 415.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1267, allocations: 8 kB / 415.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1267, allocations: 0 / 415.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/0.1274, allocations: 160.7 kB / 415.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.1277, allocations: 75.89 kB / 415.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/0.1305, allocations: 2.052 MB / 417.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.1308, allocations: 35.84 kB / 417.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.1309, allocations: 11.94 kB / 417.5 MB, free: 11.72 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002513/0.1311, allocations: 165.7 kB / 417.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.672e-05/0.1312, allocations: 39.53 kB / 417.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.1323, allocations: 0.5183 MB / 418.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1324, allocations: 4 kB / 418.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1324, allocations: 3.953 kB / 418.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.1324, allocations: 3.984 kB / 418.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.1341, allocations: 1.138 MB / 419.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1341, allocations: 0 / 419.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.1344, allocations: 75.89 kB / 419.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005461/0.135, allocations: 152.7 kB / 419.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.135, allocations: 8 kB / 419.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.1373, allocations: 1.996 MB / 421.6 MB, free: 7.379 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1373, allocations: 4 kB / 421.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.1384, allocations: 0.5854 MB / 422.2 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.1386, allocations: 144.6 kB / 422.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.1387, allocations: 4 kB / 422.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.1389, allocations: 39.78 kB / 422.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/0.139, allocations: 31.89 kB / 422.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.139, allocations: 8 kB / 422.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.1393, allocations: 223.2 kB / 422.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1393, allocations: 4 kB / 422.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005677/0.1399, allocations: 143.9 kB / 422.8 MB, free: 6.164 MB / 318.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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001526/0.1414, allocations: 1.181 MB / 424 MB, free: 4.953 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.1425, allocations: 0.4907 MB / 424.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1425, allocations: 0 / 424.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006102/0.1431, allocations: 374.4 kB / 424.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.1436, allocations: 53.42 kB / 424.9 MB, free: 4.02 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.1475, allocations: 2.256 MB / 427.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.148, allocations: 0.8245 MB / 428 MB, free: 0.875 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002005/0.1482, allocations: 43.2 kB / 428 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.1484, allocations: 139.4 kB / 428.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1484, allocations: 0 / 428.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1897/0.3381, allocations: 9.448 MB / 437.6 MB, free: 34.68 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.3383, allocations: 228.8 kB / 437.8 MB, free: 34.45 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.304, allocations: 4 kB / 437.8 MB, free: 34.45 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe 2>&1) Environment - environmentSimulation: