Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.00106/0.00106, allocations: 110.5 kB / 16.92 MB, free: 6.332 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.001144/0.001144, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1741/0.1741, allocations: 38.04 MB / 329.7 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.73 kB / 398.9 MB, free: 33.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09083/0.09208, allocations: 58.06 MB / 457 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005723/0.09785, allocations: 4.564 MB / 461.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.1, allocations: 1.472 MB / 463 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.1002, allocations: 15.88 kB / 463 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009878/0.1013, allocations: 385.2 kB / 463.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.1018, allocations: 238.8 kB / 463.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.1024, allocations: 247.4 kB / 463.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005923/0.103, allocations: 0.5573 MB / 464.4 MB, free: 496 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004716/0.1035, allocations: 342.5 kB / 464.8 MB, free: 160 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.1039, allocations: 251 kB / 465 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004749/0.1044, allocations: 315 kB / 465.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.98e-05/0.1044, allocations: 32 kB / 465.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.1047, allocations: 151.8 kB / 465.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.1049, allocations: 219.4 kB / 465.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.1052, allocations: 250.8 kB / 466 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005929/0.1058, allocations: 0.5879 MB / 466.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1058, allocations: 0 / 466.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1058, allocations: 3.938 kB / 466.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1058, allocations: 0 / 466.6 MB, free: 14.37 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001398/0.1072, allocations: 0.766 MB / 467.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1073, allocations: 11.89 kB / 467.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.892e-05/0.1074, allocations: 86.72 kB / 467.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006022/0.108, allocations: 92.2 kB / 467.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.1085, allocations: 404 kB / 467.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.1085, allocations: 33.38 kB / 467.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.1087, allocations: 55.86 kB / 468 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007865/0.1095, allocations: 0.6479 MB / 468.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.1095, allocations: 7.984 kB / 468.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/0.1096, allocations: 16 kB / 468.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.1097, allocations: 28.98 kB / 468.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007252/0.1104, allocations: 479.5 kB / 469.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.1134, allocations: 3.018 MB / 472.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.1137, allocations: 189 kB / 472.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.1139, allocations: 105.7 kB / 472.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.1139, allocations: 4 kB / 472.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.114, allocations: 38.5 kB / 472.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.114, allocations: 0 / 472.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001263/0.1152, allocations: 0.8345 MB / 473.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1153, allocations: 89.06 kB / 473.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.1156, allocations: 349.4 kB / 473.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1156, allocations: 29.7 kB / 473.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.1158, allocations: 299 kB / 474.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.1159, allocations: 75 kB / 474.2 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.116, allocations: 89.94 kB / 474.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1161, allocations: 342.8 kB / 474.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.1163, allocations: 132.7 kB / 474.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.1166, allocations: 326.9 kB / 475 MB, free: 5.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.1171, allocations: 0.5008 MB / 475.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.1171, allocations: 3.938 kB / 475.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009245/0.1181, allocations: 0.5528 MB / 476.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1181, allocations: 14.06 kB / 476.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004995/0.1186, allocations: 278.9 kB / 476.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/0.1189, allocations: 88.72 kB / 476.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.1193, allocations: 87.89 kB / 476.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.1207, allocations: 1.727 MB / 478.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.121, allocations: 24.06 kB / 478.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.121, allocations: 23.94 kB / 478.3 MB, free: 1.781 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.1212, allocations: 217.6 kB / 478.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.1213, allocations: 43.41 kB / 478.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.1217, allocations: 296.6 kB / 478.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.1218, allocations: 8 kB / 478.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1218, allocations: 0 / 478.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1218, allocations: 0 / 478.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.1228, allocations: 0.7871 MB / 479.7 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1229, allocations: 0 / 479.7 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.1231, allocations: 47.97 kB / 479.7 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1232, allocations: 12 kB / 479.7 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.1232, allocations: 11.98 kB / 479.7 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1232, allocations: 3.938 kB / 479.7 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1232, allocations: 7.984 kB / 479.7 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005196/0.1237, allocations: 479.7 kB / 480.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.1238, allocations: 104.7 kB / 480.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.1239, allocations: 11.94 kB / 480.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.124, allocations: 8.031 kB / 480.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.1241, allocations: 19.92 kB / 480.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1241, allocations: 8 kB / 480.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.1243, allocations: 235.2 kB / 480.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1243, allocations: 0 / 480.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004417/0.1247, allocations: 95.98 kB / 480.7 MB, free: 15.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008516/0.1256, allocations: 1.011 MB / 481.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00086/0.1265, allocations: 469.8 kB / 482.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1265, allocations: 1.688 kB / 482.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.1267, allocations: 107.8 kB / 482.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.1272, allocations: 73.52 kB / 482.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.1316, allocations: 4.006 MB / 486.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/0.1322, allocations: 0.8701 MB / 487.2 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.1325, allocations: 111.2 kB / 487.3 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.1327, allocations: 151.4 kB / 487.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1327, allocations: 0 / 487.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.1598, allocations: 7.28 MB / 494.7 MB, free: 1.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.933/9.093, allocations: 13.58 kB / 494.8 MB, free: 0.9922 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches