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.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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.001611/0.001611, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06282/0.06282, allocations: 14.17 MB / 283.9 MB, free: 7.098 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.001405/0.001405, allocations: 76.44 kB / 345.2 MB, free: 19.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09985/0.1013, allocations: 50.13 MB / 395.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.005815/0.1071, allocations: 4.31 MB / 399.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003827/0.111, allocations: 2.478 MB / 402.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.1113, allocations: 11.94 kB / 402.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006741/0.112, allocations: 242.6 kB / 402.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.1143, allocations: 1.115 MB / 403.5 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.1148, allocations: 259.1 kB / 403.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.1158, allocations: 0.9457 MB / 404.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.1161, allocations: 78.02 kB / 404.7 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004057/0.1165, allocations: 334.8 kB / 405.1 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.1169, allocations: 342.5 kB / 405.4 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.955e-05/0.117, allocations: 32 kB / 405.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.1175, allocations: 279.8 kB / 405.7 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.109e-05/0.1176, allocations: 83.61 kB / 405.8 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.1178, allocations: 294.5 kB / 406.1 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008159/0.1186, allocations: 0.775 MB / 406.8 MB, free: 5.539 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.1187, allocations: 4 kB / 406.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1187, allocations: 0 / 406.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1187, allocations: 4 kB / 406.9 MB, free: 5.531 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.002611/0.1213, allocations: 1.013 MB / 407.9 MB, free: 4.469 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1214, allocations: 12.02 kB / 407.9 MB, free: 4.457 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.575e-05/0.1214, allocations: 74.66 kB / 407.9 MB, free: 4.375 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003056/0.1217, allocations: 76.27 kB / 408 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000651/0.1224, allocations: 444.4 kB / 408.5 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.1224, allocations: 25.38 kB / 408.5 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.1225, allocations: 40.12 kB / 408.5 MB, free: 3.758 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/0.1231, allocations: 383 kB / 408.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1231, allocations: 0 / 408.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.1231, allocations: 16 kB / 408.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.1232, allocations: 8 kB / 408.9 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005725/0.1237, allocations: 347.7 kB / 409.3 MB, free: 3.004 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.002837/0.1266, allocations: 2.384 MB / 411.6 MB, free: 332 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00094/0.1275, allocations: 0.5651 MB / 412.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.1278, allocations: 148.8 kB / 412.4 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.1278, allocations: 11.92 kB / 412.4 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1279, allocations: 38.56 kB / 412.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 1.603e-06/0.1279, allocations: 0 / 412.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.002322/0.1302, allocations: 0.8071 MB / 413.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1303, allocations: 55.41 kB / 413.3 MB, free: 14.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.1306, allocations: 349.7 kB / 413.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1307, allocations: 29.7 kB / 413.6 MB, free: 14.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1308, allocations: 200.7 kB / 413.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.1309, allocations: 141.9 kB / 414 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.847e-05/0.131, allocations: 65.59 kB / 414 MB, free: 13.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1312, allocations: 346.8 kB / 414.4 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.1314, allocations: 104 kB / 414.5 MB, free: 13.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.1316, allocations: 134.8 kB / 414.6 MB, free: 13.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.1321, allocations: 265.9 kB / 414.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1321, allocations: 3.938 kB / 414.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001053/0.1331, allocations: 481.2 kB / 415.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1332, allocations: 4 kB / 415.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1332, allocations: 0 / 415.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007534/0.1339, allocations: 164.6 kB / 415.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.1343, allocations: 83.83 kB / 415.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.1372, allocations: 2.235 MB / 417.8 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.1375, allocations: 35.73 kB / 417.9 MB, free: 9.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.1376, allocations: 12 kB / 417.9 MB, free: 9.812 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001917/0.1378, allocations: 165.7 kB / 418 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.165e-05/0.1379, allocations: 39.53 kB / 418.1 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.139, allocations: 0.5143 MB / 418.6 MB, free: 9.074 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.139, allocations: 8 kB / 418.6 MB, free: 9.066 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.139, allocations: 0 / 418.6 MB, free: 9.066 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.1391, allocations: 3.984 kB / 418.6 MB, free: 9.062 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.1408, allocations: 1.2 MB / 419.8 MB, free: 7.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1408, allocations: 0 / 419.8 MB, free: 7.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.1411, allocations: 75.95 kB / 419.9 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006344/0.1417, allocations: 156.6 kB / 420 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.1418, allocations: 11.98 kB / 420 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00249/0.1443, allocations: 2.196 MB / 422.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1443, allocations: 0 / 422.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1454, allocations: 0.5814 MB / 422.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.1455, allocations: 156.5 kB / 423 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/0.1456, allocations: 15.92 kB / 423 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.1459, allocations: 15.91 kB / 423 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.146, allocations: 27.95 kB / 423 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.1461, allocations: 12 kB / 423 MB, free: 4.352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002479/0.1463, allocations: 251.2 kB / 423.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1463, allocations: 0 / 423.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005457/0.1469, allocations: 163.9 kB / 423.4 MB, free: 3.949 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001515/0.1484, allocations: 1.177 MB / 424.6 MB, free: 2.742 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.001119/0.1495, allocations: 0.5023 MB / 425.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1495, allocations: 0 / 425.1 MB, free: 2.227 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.0006626/0.1502, allocations: 378.4 kB / 425.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.1507, allocations: 80.92 kB / 425.6 MB, free: 1.773 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1573/0.308, allocations: 3.687 MB / 429.3 MB, free: 36.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.3084, allocations: 0.8186 MB / 430.1 MB, free: 35.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002153/0.3086, allocations: 39.09 kB / 430.1 MB, free: 35.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.3088, allocations: 140.5 kB / 430.2 MB, free: 35.72 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3088, allocations: 3.844 kB / 430.2 MB, free: 35.72 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/0.3483, allocations: 11.32 MB / 441.6 MB, free: 32.62 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.32, allocations: 10.38 kB / 441.6 MB, free: 32.61 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 & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches